Part Number Hot Search : 
10200 PQ108A1 2SK2847 C2R01T 0EVKI 10200 PT2380 AN921
Product Description
Full Text Search
 

To Download KSZ9031MNXCA Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2016 microchip technology inc. ds00002096c-page 1 target applications ? laser/network printer ? network attached storage (nas) ?network server ? broadband gateway ? gigabit soho/smb router ?iptv ? ip set-top box ? game console ? ip camera ? triple-play (data, voice, video) media center ? media converter features ? single-chip 10/100/1000 mbps ethernet trans- ceiver suitable for ieee 802.3 applications ? gmii/mii standard interfac e with 3.3v/2.5v/1.8v tolerant i/os ? auto-negotiation to automatically select the highest link-up speed (10/100/1000 mbps) and duplex (half/full) ? on-chip termination resistors for the differential pairs ? on-chip ldo controller to support single 3.3v supply operation ? jumbo frame support up to 16 kb ? 125 mhz reference clock output ? energy-detect power-down mode for reduced power consumption when the cable is not attached ? wake-on-lan (wol) support with robust cus- tom-packet detection ? programmable led outputs for link, activity, and speed ? baseline wander correction ? linkmd tdr-based cable diagnostic to identify faulty copper cabling ? parametric nand tree support to detect faults between chip i/os and board ? loopback modes for diagnostics ? automatic mdi/mdi-x crossover to detect and correct pair swap at all speeds of operation ? automatic detection and correction of pair swaps, pair skew, and pair polarity ? mdc/mdio management interface for phy reg- ister configuration ? interrupt pin option ? power-down and power-saving modes ? operating voltages - core (dvddl, avddl, avddl_pll): 1.2v (external fet or regulator) - vdd i/o (dvddh): 3.3v, 2.5v, or 1.8v - transceiver (avddh): 3.3v or 2.5v (commercial temp.) ? 64-pin qfn (8 mm 8 mm) package ksz9031mnx gigabit ethernet transceiver with gmii/mii support
ksz9031mnx ds00002096c-page 2 ? 2016 microchip technology inc. to our valued customers it is our intention to provide our valued customers with the bes t documentation possible to ensure successful use of your micro chip products. to this end, we will continue to improve our publications to better suit your needs. our publications will be refined and enhanced as new volumes and updates are introduced. if you have any questions or comments regarding this publication, please contact the marketing co mmunications department via e-mail at docerrors@microchip.com . we welcome your feedback. most current data sheet to obtain the most up-to-date version of this data s heet, please register at our worldwide web site at: http://www.microchip.com you can determine the version of a data s heet by examining its literature number found on the bottom outside corner of any page . the last character of the literature number is the versi on number, (e.g., ds30000000a is version a of document ds30000000). errata an errata sheet, describing minor operati onal differences from the data sheet and recommended workarounds, may exist for cur- rent devices. as device/doc umentation issues become known to us, we will publish an errata s heet. the errata will specify the revision of silicon and revision of document to which it applies. to determine if an errata sheet exis ts for a particular device, please check with one of the following: ? microchip?s worldwide web site; http://www.microchip.com ? your local microchip sales office (see last page) when contacting a sales office, please spec ify which device, revision of silicon and data sheet (include -literature number) yo u are using. customer notification system register on our web site at www.microchip.com to receive the most current information on all of our products.
? 2016 microchip technology inc. ds00002096c-page 3 ksz9031mnx table of contents 1.0 introduction .............................................................................................................. ....................................................................... 4 2.0 pin description and configuration ......................................................................................... ......................................................... 5 3.0 functional description .................................................................................................... .............................................................. 13 4.0 register descriptions ..................................................................................................... ............................................................... 32 5.0 operational charac teristics ............................................................................................... ............................................................ 53 6.0 electrical characteristics ................................................................................................ ............................................................... 54 7.0 timing diagrams ............................................................................................................ ................................................................ 58 8.0 reset circuit .............................................................................................................. .................................................................... 65 9.0 reference circuits - led strap-in pins ..................................................................................... .................................................... 67 10.0 reference clock - connection and selection ................................................................................ .............................................. 68 11.0 on-chip ldo controller - mosfet selection................................................................................. ............................................ 68 12.0 magnetic - connection and selection ....................................................................................... ................................................... 69 13.0 package outlines .......................................................................................................... ............................................................... 71 appendix a: data sheet revision history ....................................................................................... .................................................... 73 the microchip web site ........................................................................................................ .............................................................. 74 customer change notification service .......................................................................................... ..................................................... 74 product identification system ................................................................................................. ............................................................ 75 customer support .............................................................................................................. ................................................................. 77
ksz9031mnx ds00002096c-page 4 ? 2016 microchip technology inc. 1.0 introduction 1.1 general description the ksz9031mnx is a completely int egrated triple-speed ( 10base-t/100base-tx/1000base- t) ethernet physical- layer transceiver for transmission and reception of data on standard cat-5 unshielded twisted pair (utp) cable. the ksz9031mnx offers the industry-standard gmii/mii (gigabit media independent interface/media independent interface) for connection to gmii/mii macs in gigabit etherne t processors and switches for data transfer at 1000 mbps or 10/100 mbps. the ksz9031mnx reduces board cost and simplifies board la yout by using on-chip termination resistors for the four differential pairs and by integrating an ldo controller to drive a low-cost mosfet to supply the 1.2v core. the ksz9031mnx offers diagnostic features to facilitate system bring-up and debugging in production testing and in product deployment. parametric nand tree support enables fault detection between ksz 9031mnx i/os and the board. the linkmd ? tdr-based cable diagnostic identifie s faulty copper cabling. remote and local loopback functions verify analog and digital data paths. the ksz9031mnx is available in a 64-pin, lead-free qfn package. figure 1-1: system block diagram gmii/mii 10/100/1000mbps gmii/mii ethernet mac mdc/mdio management ksz9031mnx ldo controller on-chip termination resistors vin 3.3va vout 1.2v (for core voltages) magnetics rj-45 connector media types 10base-t 100base-tx 1000base-t (system power circuit) pme_n
? 2016 microchip technology inc. ds00002096c-page 5 ksz9031mnx 2.0 pin description and configuration figure 2-1: 64-qfn pin assignment (top view) 1 txrxp _a led2 / phyad1 57 58 59 60 61 62 63 64 paddle ground (on bottom of chip) 53 54 55 56 2 txrxm _a 3 4 5 avddl 6 avddh 7 avddl 8 nc 9 10 txrxp _b 11 txrxm _b 12 agndh txrxp _c txrxm _c avddl 24 23 22 21 20 19 18 17 28 27 26 25 led1 / pme_n1 / phyad0 dvddl txd0 dv dd h txd2 t x d 3 dvddl txd4 txd6 48 47 46 45 44 43 42 41 40 39 38 37 rxd5 rxd3 / mode3 dvddh rxd2 / mode2 rxd4 rxd1 / mode 1 rxd0 / mode0 rx_dv / clk125_en dvddh rx_er rx_clk / phyad2 agndh iset nc xi xo avddl _pll ldo_o tx_clk clk125_ndo / led_mode reset _n dvddl int_n / pme_n2 txd1 txd5 dvddl 13 14 15 16 avddl txrxp _d txrxm _d avddh 32 31 30 29 txd7 dvddh gtx_clk tx_er 36 35 34 33 tx_en rxd6 dvddl rxd7 49 50 51 52 mdio col mdc crs ksz9031mnx
ksz9031mnx ds00002096c-page 6 ? 2016 microchip technology inc. table 2-1: signals - ksz9031mnx pin number pin name type note 2-1 description 1 avddh p 3.3v/2.5v (commercial temperature only) analog v dd 2 txrxp_a i/o media dependent interface[0], positive signal of differential pair 1000base-t mode: txrxp_a corresponds to bi_da+ for mdi configuration and bi_db+ for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxp_a is the positive tr ansmit signal (tx+) for mdi configuration and the positive receive signal (rx+) for mdi-x configuration, respectively. 3 txrxm_a i/o media dependent interface[0], negat ive signal of differential pair 1000base-t mode: txrxm_a corresponds to bi_da? for mdi configuration and bi_db? for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxm_a is the negative transmit signal (tx?) for mdi configuration and the negative receive signal (rx?) for mdi-x configuration, respectively. 4 avddl p 1.2v analog v dd 5 avddl p 1.2v analog v dd 6 nc ? no connect 7 txrxp_b i/o media dependent interface[1], positive signal of differential pair 1000base-t mode: txrxp_b corresponds to bi_db+ for mdi configuration and bi_da+ for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxp_b is the positive receive signal (rx+) for mdi configuration and the positive transmit signal (tx+) for mdi-x configuration, respectively. 8 txrxm_b i/o media dependent interface[1], negat ive signal of differential pair 1000base-t mode: txrxm_b corresponds to bi_db? for mdi configuration and bi_da? for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxm_b is the negative receive signal (rx?) for mdi configuration and the negative transmit signal (tx?) for mdi-x configur ation, respectively. 9 agndh gnd analog ground 10 txrxp_c i/o media dependent interface[2], positive signal of differential pair 1000base-t mode: txrxp_c corresponds to bi_dc+ for mdi configuration and bi_dd+ for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxp_c is not used. 11 txrxm_c i/o media dependent interface[2], negat ive signal of differential pair 1000base-t mode: txrxm_c corresponds to bi_dc? for mdi configuration and bi_dd? for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxm_c is not used. 12 avddl p 1.2v analog v dd 13 avddl p 1.2v analog v dd
? 2016 microchip technology inc. ds00002096c-page 7 ksz9031mnx 14 txrxp_d i/o media dependent interface[3], positive signal of differential pair 1000base-t mode: txrxp_d corresponds to bi_dd+ for mdi configuration and bi_dc+ for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxp_d is not used. 15 txrxm_d i/o media dependent interface[3], negat ive signal of differential pair 1000base-t mode: txrxm_d corresponds to bi_dd? for mdi configuration and bi_dc? for mdi-x configuration, respectively. 10base-t/100base-tx mode: txrxm_d is not used. 16 avddh p 3.3v/2.5v (commercial temperature only) analog v dd 17 led2/ phyad1 i/o led2 output: programmable led2 output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of phyad[1]. see the strap- ping options - ksz9031mnx section for details. the led2 pin is programmed by the led_mode strapping option (pin 55), and is defined as follows: single-led mode link pin state led definition link off h off link on (any speed) l on tri-color dual-led mode link/activity pin state led definition led2 led1 led2 led1 link off h h off off 1000 link/no activity l h on off 1000 link/activity (rx, tx) toggle h blinking off 100 link/no activity h l off on 100 link/activity (rx, tx) h toggle off blinking 10 link/no activity l l on on 10 link/activity (rx, tx) toggle toggle blinking blinking for tri-color dual-led mode, led2 works in conjunction with led1 (pin 19) to indicate 10 mbps link and activity. 18 dvddh p 3.3v, 2.5v, or 1.8v digital v dd_io table 2-1: signals - ksz9031mnx (continued) pin number pin name type note 2-1 description
ksz9031mnx ds00002096c-page 8 ? 2016 microchip technology inc. 19 led1/ phyad0/ pme_n1 i/o led1 output: programmable led1 output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of phyad[0]. see the strap- ping options - ksz9031mnx section for details. pme_n output: programmable pme_n output (pin option 1). this pin function requires an external pull-up resistor to dvddh (digital v dd_i/o ) in a range from 1.0 k ? to 4.7 k ? . when asserted low, this pin signals that a wol event has occurred. this pin is not an open-drain for all operating modes. the led1 pin is programmed by the led_mode strapping option (pin 55), and is defined as follows: single-led mode activity pin stat e led definition no activity h off activity (rx, tx) toggle blinking tri-color dual-led mode link/activity pin state led definition led2 led1 led2 led1 link off h h off off 1000 link/no activity l h on off 1000 link/activity (rx, tx) toggle h blinking off 100 link/no activity h l off on 100 link/activity (rx, tx) h toggle off blinking 10 link/no activity l l on on 10 link/activity (rx, tx) toggle toggle blinking blinking for tri-color dual-led mode, led1 works in conjunction with led2 (pin 17) to indicate 10 mbps link and activity. 20 dvddl p 1.2v digital v dd 21 txd0 i gmii mode: gmii txd0 (transmit data 0) input mii mode: mii txd0 (transmit data 0) input 22 txd1 i gmii mode: gmii txd1 (transmit data 1) input mii mode: mii txd1 (transmit data 1) input 23 txd2 i gmii mode: gmii txd2 (transmit data 2) input mii mode: mii txd2 (transmit data 2) input table 2-1: signals - ksz9031mnx (continued) pin number pin name type note 2-1 description
? 2016 microchip technology inc. ds00002096c-page 9 ksz9031mnx 24 txd3 i gmii mode: gmii txd3 (transmit data 3) input mii mode: mii txd3 (transmit data 3) input 25 dvddl p 1.2v digital v dd 26 txd4 i gmii mode: gmii txd4 (transmit data 4) input mii mode: this pin is not used and can be driven high or low. 27 txd5 i gmii mode: gmii txd5 (transmit data 5) input mii mode: this pin is not used and can be driven high or low. 28 txd6 i gmii mode: gmii txd6 (transmit data 6) input mii mode: this pin is not used and can be driven high or low. 29 txd7 i gmii mode: gmii txd7 (transmit data 7) input mii mode: this pin is not used and can be driven high or low. 30 dvddh p 3.3v, 2.5v, or 1.8v digital v dd_io 31 tx_er i gmii mode: gmii tx_er (transmit error) input mii mode: mii tx_er (transmit error) input if the gmii/mii mac does not provide th e tx_er output signal, this pin should be tied low. 32 gtx_clk i gmii mode: gmii gtx_clk (transmit reference clock) input 33 tx_en i gmii mode: gmii tx_en (transmit enable) input mii mode: mii tx_en (transmit enable) input 34 rxd7 o gmii mode: gmii rxd7 (receive data 7) output mii mode: this pin is not used and is driven low. 35 rxd6 o gmii mode: gmii rxd6 (receive data 6) output mii mode: this pin is not used and is driven low. 36 dvddl p 1.2v digital v dd 37 rxd5 o gmii mode: gmii rxd5 (receive data 5) output mii mode: this pin is not used and is driven low. 38 rxd4 o gmii mode: gmii rxd4 (receive data 4) output mii mode: this pin is not used and is driven low. 39 rxd3/ mode3 i/o gmii mode: gmii rxd3 (receive data 3) output mii mode: mii rxd3 (receive data 3) output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of mode3. see the strapping options - ksz9031mnx section for details. 40 dvddh p 3.3v, 2.5v, or 1.8v digital v dd_io 41 rxd2/ mode2 i/o gmii mode: gmii rxd2 (receive data 2) output mii mode: mii rxd2 (receive data 2) output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of mode2. see the strapping options - ksz9031mnx section for details. 42 dvddl p 1.2v digital v dd table 2-1: signals - ksz9031mnx (continued) pin number pin name type note 2-1 description
ksz9031mnx ds00002096c-page 10 ? 2016 microchip technology inc. 43 rxd1/ mode1 i/o gmii mode: gmii rxd1 (receive data 1) output mii mode: mii rxd1 (receive data 1) output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of mode1. see the strapping options - ksz9031mnx section for details. 44 rxd0/ mode0 i/o gmii mode: gmii rxd0 (receive data 0) output mii mode: mii rxd0 (receive data 0) output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of mode0. see the strapping options - ksz9031mnx section for details. 45 rx_dv/ clk125_en i/o gmii mode: gmii rx_dv (receive data valid) output mii mode: mii rx_dv (receive data valid) output config mode: the voltage on this pin is sampled and latched during the power-up/reset process to determine the value of clk125_en. see the strapping options - ksz9031mnx section for details. 46 dvddh p 3.3v, 2.5v, or 1.8v digital v dd_io 47 rx_er o gmii mode: gmii rx_er (receive error) output mii mode: mii rx_er (receive error) output 48 rx_clk/ phyad2 i/o gmii mode: gmii rx_clk (rec eive reference clock) output mii mode: mii rx_clk (receive reference clock) output config mode: the voltage on this pin is sampled and latched during the power up/reset process to determi ne the value of phyad[2]. see the strap- ping options - ksz9031mnx section for details. 49 crs o gmii mode: gmii crs (carrier sense) output mii mode: mii crs (carrier sense) output 50 mdc ipu management data clock input this pin is the input reference clock for mdio (pin 51). 51 mdio ipu/o management data input/output this pin is synchronous to mdc (pin 50) and requires an external pull-up resistor to dvddh (digital v dd_io ) in a range from 1.0 k ? to 4.7 k ? . 52 col o gmii mode: gmii col (collision detected) output mii mode: mii col (collision detected) output 53 int_n/ pme_n2 o interrupt output: programmable interrupt output, with register 1bh as the interrupt control/status register, for programming the interrupt conditions and reading the interrupt status. register 1fh, bit [14] sets the interrupt out- put to active low (def ault) or active high. pme_n output: programmable pme_n ou tput (pin option 2). when asserted low, this pin signals that a wol event has occurred. for interrupt (when active low) and pme functions, this pin requires an exter- nal pull-up resistor to dvddh (digital v dd_i/o ) in a range from 1.0 k ? to 4.7 k ? . this pin is not an open-drain for all operating modes. 54 dvddl p 1.2v digital v dd table 2-1: signals - ksz9031mnx (continued) pin number pin name type note 2-1 description
? 2016 microchip technology inc. ds00002096c-page 11 ksz9031mnx note 2-1 p = power supply gnd = ground i = input o = output i/o = bi-directional ipu = input with internal pull-up (see electrical characteristics for value). ipu/o = input with in ternal pull-up (see electrical characteristics for value) duri ng power-up/reset; output pin otherwise. 55 clk125_ndo/ led_mode i/o 125 mhz clock output this pin provides a 125 mhz reference clock output option for use by the mac. config mode: the voltage on this pin is sampled during the power-up/reset process to determine the value of led_mode. see the strapping options - ksz9031mnx section for details. 56 reset_n ipu chip reset (active low) hardware pin configurations are stra pped-in (sampled and latched) at the de- assertion (rising edge) of reset_n. see the strapping options - ksz9031mnx section for details. 57 tx_clk o mii mode: mii tx_clk (transmit reference clock) output 58 ldo_o o on-chip 1.2v ldo controller output this pin drives the input gate of a p-channel mosfet to generate 1.2v for the chip?s core voltages. if the system provides 1.2v and this pin is not used, it can be left floating. 59 avddl_pll p 1.2v analog v dd for pll 60 xo o 25 mhz crystal feedback this pin connects to one end of an external 25 mhz crystal. this pin is a no connect if an oscilla tor or other external (non-crystal) clock source is used. 61 xi i crystal/oscillator/external clock input this pin connects to one end of an external 25 mhz crystal or to the output of an oscillator or other extern al (non-crystal) clock source. 25 mhz 50 ppm tolerance 62 nc ? no connect this pin is not bonded and can be connected to avddh power for footprint compatibility with the ksz9021gn gigabit phy. 63 iset i/o set the transmit output level. connect a 12.1 k ? 1% resistor to ground on this pin. 64 agndh gnd analog ground. paddle p_gnd gnd exposed paddle on bottom of chip. connect p_gnd to ground. table 2-1: signals - ksz9031mnx (continued) pin number pin name type note 2-1 description
ksz9031mnx ds00002096c-page 12 ? 2016 microchip technology inc. pin strap-ins are latched durin g power-up or reset. in some systems, the mac receive input pins may be driven during the power-up or reset process, and cons equently cause the phy strap-in pins on the gmii/mii signals to be latched to the incorrect configuration. in this case, external pull-up or pull-down resistors should be added on the phy strap-in pins to ensure the phy is configured to the correct pin strap-in mode. note 2-1 i/o = bi-directional. table 2-2: strapping options - ksz9031mnx pin number pin name type note 2-1 description 48 17 19 phyad2 phyad1 phyad0 i/o i/o i/o the phy address, phyad[2:0], is sampled and latched at power-up/ reset and is configurable to any value from 0 to 7. each phy address bit is configured as follows: pull-up = 1 pull-down = 0 phy address bits [4:3] are always set to ?00?. 39 41 43 44 mode3 mode2 mode1 mode0 i/o i/o i/o i/o the mode[3:0] strap-in pins are sampled and latched at power-up/ reset and are defined as follows: mode[3:0] mode 0000 reserved - not used 0001 gmii/mii mode 0010 reserved - not used 0011 reserved - not used 0100 nand tree mode 0101 reserved - not used 0110 reserved - not used 0111 chip power-down mode 1000 reserved - not used 1001 reserved - not used 1010 reserved - not used 1011 reserved - not used 1100 reserved - not used 1101 reserved - not used 1110 reserved - not used 1111 reserved - not used 45 clk125_en i/o clk125_en is sampled and latched at power-up/reset and is defined as follows: pull-up (1) = enable 125 mhz clock output pull-down (0) = disable 125 mhz clock output pin 55 (clk125_ndo) provides the 125 mhz reference clock output option for use by the mac. 55 led_mode i/o led_mode is sampled and latched at power-up/reset and is defined as follows: pull-up (1) = single-led mode pull-down (0) = tri-color dual-led mode
? 2016 microchip technology inc. ds00002096c-page 13 ksz9031mnx 3.0 functional description the ksz9031mnx is a completely integrated triple-speed (10base-t/100base-tx/1000 base-t) ethernet physical layer transceiver solution for transmission and reception of data over a standard cat-5 unshielded twisted pair (utp) cable. the ksz9031mnx reduces board cost and simplifies board la yout by using on-chip termination resistors for the four differential pairs and by integrating an ldo controller to drive a low-cost mosfet to supply the 1.2v core. on the copper media interface, the ksz9031mnx can automatica lly detect and correct for differential pair misplace- ments and polarity reversals, and correct propagation delays and re-sync timing between the four differential pairs, as specified in the ieee 802.3 standard for 1000base-t operation. the ksz9031mnx provides the gmii/mii interface for connection to gmacs in gigabit ethernet processors and switches for data trans fer at 10/100/1000mbps. figure 3-1 shows a high-level block diagram of the ksz9031mnx. figure 3-1: ksz9031mnx block diagram 3.1 10base-t/100base-tx transceiver 3.1.1 100base-tx transmit the 100base-tx transmit function perfo rms parallel-to-serial conversion, 4b/5 b coding, scrambling, nrz-to-nrzi con- version, and mlt-3 encoding and transmission. the circuitry starts with a parallel-to-serial conversion, whic h converts the mii data from the mac into a 125 mhz serial bit stream. the data and control stream is then converted into 4b/5b coding, followed by a scrambler. the serialized data is further converted from nrz-to-nrzi format, and then transmitted in mlt-3 current output. the output current is set by an external 12.1 k ? 1% resistor for the 1:1 transformer ratio. the output signal has a typical rise/fall time of 4 ns and complies with the ansi tp-pmd standard regarding amplitude balance, and overshoot. the wa ve-shaped 10base-t outpu t is also incorpor ated into the 100 base-tx transmitter. 3.1.2 100base-tx receive the 100base-tx receiver function perfo rms adaptive equalization, dc restorati on, mlt-3-to-nrzi conversion, data and clock recovery, nrzi-to-nrz conversion, de-scrambli ng, 4b/5b decoding, and serial-to-parallel conversion. the receiving side starts with the equalization filter to com pensate for inter-symbol interfer ence (isi) over the twisted pair cable. because the amplitude loss and phase distortion ar e a function of the cable lengt h, the equalizer must adjust its characteristics to optimize performanc e. in this design, the variable equaliz er makes an initial estimation based on comparisons of incoming signal strength against some known cable characteristics, then t unes itself for optimization. this is an ongoing process and self-adjusts against environmental changes such as temperature variations. media interface pma tx10/100/1000 pma rx1000 pma rx100 pma rx10 clock reset pcs10 auto- negotiation pcs100 pcs1000 interface led drivers configurations gmii/mii
ksz9031mnx ds00002096c-page 14 ? 2016 microchip technology inc. next, the equalized signal goes through a dc-restoration and data-conversion block. the dc-restoration circuit com- pensates for the effect of baseline wander and improves the dynamic range. the differential data conversion circuit con- verts the mlt-3 format back to nrzi. th e slicing threshold is also adaptive. the clock-recovery circuit extracts the 125 mhz clock from the edges of the nrzi signal. this recovered clock is then used to convert the nrzi signal into the nrz format. this si gnal is sent through the de-scrambler followed by the 4b/ 5b decoder. finally, the nrz serial data is converted to th e gmii/mii format and provided as the input data to the mac. 3.1.3 scrambler/de-scrambler (100base-tx only) the purpose of the scrambler is to spr ead the power spectrum of the signal to reduce electromagnetic interference (emi) and baseline wander. transmitted data is scrambled using an 11-bit wide linear feedback shift register (lfsr). the scrambler generates a 2047-bit non-repetitive sequence, then the receiver de-scrambles the incoming data stream using the same sequence as at the transmitter. 3.1.4 10base-t transmit the 10base-t output drivers are incorpor ated into the 100base-tx drivers to allow for transmission with the same magnetic. the drivers perform internal wave-shaping and pre-emphasis, and output sig nals with typical amplitude of 2.5v peak for standard 10base-t mode and 1.75v peak for energy-efficient 10base-te mode. the 10base-t/ 10base-te signals have harmonic contents that are at least 31 db be low the fundamental fr equency when driven by an all-ones manchester-encoded signal. 3.1.5 10base-t receive on the receive side, input buffer and level-detecting squelch circuits are used. a differential input receiver circuit and a phase-locked loop (pll) perform the decoding function. the manchester-encoded data stream is separated into clock signal and nrz data. a squelch circuit rejects signals with levels less than 300 mv or with short pulse widths to prevent noises at the receive inputs from falsely triggering the dec oder. when the input exceeds th e squelch limit, the pll locks onto the incoming signal and the ksz9031mnx decodes a data fr ame. the receiver clock is maintained active during idle periods between receiving data frames. the ksz9031mnx removes all 7 bytes of the preamble and presents the received frame st arting with the sfd (start of frame delimiter) to the mac. auto-polarity correction is provided for the receiving differenti al pair to automatically swap and fix the incorrect +/? polar- ity wiring in the cabling. 3.2 1000base-t transceiver the 1000base-t transceiver is based-on a mixed-signa l/digital-signal processing (dsp) architecture, which includes the analog front-end, digital channel equalizers, trellis enc oders/decoders, echo c ancelers, cross-talk cancelers, preci- sion clock recovery scheme, and power-efficient line drivers. figure 3-2 shows a high-level block diagram of a single channel of the 1000base-t transceiver for one of the four dif- ferential pairs.
? 2016 microchip technology inc. ds00002096c-page 15 ksz9031mnx figure 3-2: ksz9031mnx 1000base- t block diagram - single channel 3.2.1 analog echo-cancellation circuit in 1000base-t mode, the analog echo-cancellation circuit helps to reduce the near-end echo. this analog hybrid circuit relieves the burden of the adc and the adaptive equalizer. this circuit is disabled in 10base-t/100base-tx mode. 3.2.2 automatic gain control (agc) in 1000base-t mode, the automati c gain control (agc) circuit provides initia l gain adjustment to boost up the signal level. this pre-conditioning circuit is used to impr ove the signal-to-noise ratio of the receive signal. 3.2.3 analog-to-digital converter (adc) in 1000base-t mode, the analog-t o-digital converter (adc) di gitizes the incoming signal. adc performance is essen- tial to the overall performance of the transceiver. this circuit is disabled in 10base-t/100base-tx mode. 3.2.4 timing recovery circuit in 1000base-t mode, the mixed-signal clock recovery circ uit together with the digital phase-locked loop is used to recover and track the incoming timing information from the received data. the digital phase-locked loop has very low long-term jitter to maximize the signal-to-noise ratio of the receive signal. the 1000base-t slave phy must transmit the exact receiv e clock frequency recovered from the received data back to the 1000base-t master phy. otherwise, the master and slav e will not be synchronized after long transmission. this also helps to facilitate echo cancellation and next removal. 3.2.5 adaptive equalizer in 1000base-t mode, the ad aptive equalizer provides the following functions: ? detection for partial response signaling ? removal of next and echo noise ? channel equalization signal quality is degraded by residual echo that is not re moved by the analog hybrid because of impedance mismatch. the ksz9031mnx uses a digital echo canceler to fu rther reduce echo components on the receive signal. in 1000base-t mode, data transmission and reception occurs si multaneously on all four pairs of wires (four channels). this results in high-frequency cross-talk coming from adj acent wires. the ksz9031mnx uses three next cancelers on each receive channel to minimize the cross-talk induced by the other three channels. clock generation baseline wander compensation echo canceller transmit block next canceller next canceller next canceller rx- adc agc + ffe slicer clock & phase recovery auto - negotiation pma state machines mii registers mii management control dfe analog hybrid pcs state machines pair swap & align unit descrambler + decoder side -stream scrambler & symbol encoder led driver xtal other channels tx signal rx signal
ksz9031mnx ds00002096c-page 16 ? 2016 microchip technology inc. in 10base-t/100base-tx mode, the adaptive equalizer needs only to remove the inter-symbol interference and recover the channel loss from the incoming data. 3.2.6 trellis encoder and decoder in 1000base-t mode, the transmitted 8-bit data is scrambled into 9- bit symbols and further encoded into 4d-pam5 symbols. the initial scrambler seed is determined by th e specific phy address to reduce emi when more than one ksz9031mnx is used on the same board. on the receiving si de, the idle stream is exam ined first. the scrambler seed, pair skew, pair order, and polarity must be resolved th rough the logic. the incoming 4d-pam5 data is then converted into 9-bit symbols and de-scrambled into 8-bit data. 3.3 auto mdi/mdi-x the automatic mdi/mdi-x feature eliminates the need to determ ine whether to use a straight cable or a crossover cable between the ksz9031mnx and its link partner. this auto-sens e function detects the mdi/mdi-x pair mapping from the link partner, and assigns the mdi/mdi-x pair mapping of the ksz9031mnx accordingly. table 3-1 shows the ksz9031mnx 10/100/1000 pin configur ation assignments for mdi/mdi-x pin mapping. auto mdi/mdi-x is enabled by default. it is disabled by wr iting a one to register 1ch, bit [6]. mdi and mdi-x mode is set by register 1ch, bit [7] if auto mdi/mdi-x is disabled. an isolation transformer with symmetrical transmit and rece ive data paths is recommended to support auto mdi/mdi-x. 3.4 pair-swap, alignment, and polarity check in 1000base-t mode , the ksz9031mnx ? detects incorrect channel order and automatically restores the pair order for the a, b, c, d pairs (four channels). ? supports 50 ns 10 ns difference in propagation delay between pairs of channels in accordance with the ieee 802.3 standard, and automatically corrects the data skew so the corrected four pairs of data symbols are synchro- nized. incorrect pair polarities of the differential si gnals are automatically corrected for all speeds. 3.5 wave shaping, slew-rate control, and partial response in communication systems, signal transmission encoding methods are used to provide the noise-shaping feature and to minimize distortion and error in the transmission channel. ? for 1000base-t, a special partial-response signaling met hod is used to provide the band-limiting feature for the transmission path. ? for 100base-tx, a simple slew-rate cont rol method is used to minimize emi. ? for 10base-t, pre-emphasis is used to extend the signal quality through the cable. 3.6 pll clock synthesizer the ksz9031mnx generates 125 mhz, 25 mhz, and 10 mhz clocks for system timing. internal clocks are generated from the external 25 mhz crystal or reference clock. table 3-1: mdi/mdi-x pin mapping pin (rj-45 pair) mdi mdi-x 1000base-t 100base-t 10base-t 1000base-t 100base-t 10base-t txrxp/m_a (1, 2) a+/? tx+/? tx+/? b+/? rx+/? rx+/? txrxp/m_b (3, 6) b+/? rx+/? rx+/? a+/? tx+/? tx+/? txrxp/m_c (4, 5) c+/? not used not used d+/? not used not used txrxp/m_d (7, 8) d+/? not used not used c+/? not used not used
? 2016 microchip technology inc. ds00002096c-page 17 ksz9031mnx 3.7 auto-negotiation the ksz9031mnx conforms to the auto-negotiati on protocol, defined in clause 28 of the ieee 802.3 specification. auto-negotiation allows utp (unshielded twisted pair) link partners to select the highest common mode of operation. during auto-negotiation, link partners advertise capabilities across the utp link to each other, and then compare their own capabilities with those they received from their link partners. the highest speed and duplex setting that is common to the two link partners is selected as the operating mode. the following list shows the speed and duplex operation mode from highest-to-lowest: ? priority 1: 1000base-t, full-duplex ? priority 2: 1000base-t, half-duplex ? priority 3: 100base-tx, full-duplex ? priority 4: 100base-tx, half-duplex ? priority 5: 10base-t, full-duplex ? priority 6: 10base-t, half-duplex if auto-negotiation is not s upported or the ksz9031mnx link partner is forced to bypass auto-negotiation for 10base- t and 100base-tx modes, the ksz9031mnx sets its operating m ode by observing the input signal at its receiver. this is known as parallel detection, and allows the ksz9031mnx to establish a link by listening for a fixed signal protocol in the absence of the auto-negotiation advertisement protocol. the auto-negotiation link-up process is shown in figure 3-3 . figure 3-3: auto-ne gotiation flow chart for 1000base-t mode, auto-negotiation is required and always used to establish a link. during 1000base-t auto- negotiation, the master and slave configur ation is first resolved between link pa rtners. then the link is established with the highest common capabilities between link partners. auto-negotiation is enabled by default after power-up or hardware reset. after that, auto-negotiation can be enabled or disabled through register 0h, bit [12]. if auto-negotiation is disabled, the speed is set by register 0h, bits [6, 13] and the duplex is set by register 0h, bit [8]. if the speed is changed on the fly, the link goes down and eit her auto-negotiation or parallel detection initiates until a common speed between ksz9031mnx and its link partner is re-established for a link. if the link is already established and ther e is no change of speed on the fly, the changes (for example, duplex and pause capabilities) will not take effect unless either auto-negotiation is restarted through register 0h, bit [9], or a link-down to link-up transition occurs (that is, disconnecting and reconnecting the cable). start auto-negotiation force link setting listen for 10base-t link pulses listen for 100base-tx idles attempt auto- negotiation link mode set bypass auto-negotiation and set link mode link mode set? parallel operation no yes yes no join flow
ksz9031mnx ds00002096c-page 18 ? 2016 microchip technology inc. after auto-negotiation is completed, the li nk status is updated in register 1h, bit [2], and the link partner capabilities are updated in registers 5h, 6h, and ah. the auto-negotiation finite state machines use interval timers to manage the auto-negotiation process. the duration of these timers under normal operating conditions is summarized in table 3-2 . 3.8 10/100 mbps speeds only some applications require link-up to be limited to 10/100 mbps speeds only. after power-up/reset, the ksz9031mnx can be restricted to auto-negotiate and link-up to 10/100 mbps speeds only by programming the following register settings: 1. set register 0h, bit [6] = ?0? to remove 1000 mbps speed. 2. set register 9h, bits [9:8] = ?00? to remove auto-n egotiation advertisements for 1000 mbps full/half duplex. 3. write a ?1? to register 0h, bit [9], a self-clear ing bit, to force a rest art of auto-negotiation. auto-negotiation and 10base-t/100base-tx spee ds use only differential pairs a (p ins 2, 3) and b (pins 7, 8). differ- ential pairs c (pins 10, 11) and d (pins 14, 15) can be left as no connects. 3.9 gmii interface the gigabit media independent interface (gmii) is compliant to the ieee 802.3 specification. it provides a common interface between gmii phys and macs, an d has the following key characteristics: ? pin count is 24 pins (11 pins for data transmission, 11 pins for data reception, and 2 pins for carrier and collision indication). ? 1000 mbps is supported at both half- and full-duplex. ? data transmission and reception are independent and belong to separate signal groups. ? transmit data and receive data are each 8 bits wide, a byte. in gmii operation, the gmii pins function as follows: ? the mac sources the transmit reference clock, gtx_clk, at 125 mhz for 1000 mbps. ? the phy recovers and sources the receive reference clock, rx_clk, at 125 mhz for 1000 mbps. ? tx_en, txd[7:0], and tx_er are sampled by the ksz9031mnx on the rising edge of gtx_clk. ? rx_dv, rxd[7:0], and rx_er are sampled by the mac on the rising edge of rx_clk. ? crs and col are driven by the ksz90 31mnx and do not have to transition syn chronously with re spect to either gtx_clk or rx_clk. table 3-2: auto-negotiation timers auto-negotiation inter val timers time duration transmit burst interval 16 ms transmit pulse interval 68 s flp detect minimum time 17.2 s flp detect maximum time 185 s receive minimum burst interval 6.8 ms receive maximum burst interval 112 ms data detect minimum interval 35.4 s data detect maximum interval 95 s nlp test minimum interval 4.5 ms nlp test maximum interval 30 ms link loss time 52 ms break link time 1480 ms parallel detection wait time 830 ms link enable wait time 1000 ms
? 2016 microchip technology inc. ds00002096c-page 19 ksz9031mnx the ksz9031mnx combines gmii mode with mii mode to form gmii/mii mode to support data transfer at 10/100/ 1000 mbps. after power-up or reset, the ksz9031mnx is conf igured to gmii/mii mode if the mode[3:0] strap-in pins are set to ?0001?. see the strapping options - ksz9031mnx section. the ksz9031mnx has the option to output a 125 mhz refere nce clock on clk125_ndo (pin 55). this clock provides a lower-cost reference clock alternative for gmii/mii macs that require a 125 mhz crystal or oscillator. the 125 mhz clock output is enabled after power-up or reset if the clk125_en strap-in pin is pulled high. the ksz9031mnx provides a dedicated transmit clock input pin (gtx_clk, pin 32) for gmii mode, which is sourced by the mac for 1000 mbps speed. 3.9.1 gmii signal definition table 3-3 describes the gmii signals. refer to clause 35 of the ieee 802.3 specification for more detailed information. 3.9.2 gmii signal diagram the ksz9031mnx gmii pin connections to the mac are shown in figure 3-4 . figure 3-4: ksz9031mnx gmii interface table 3-3: gmii signal definition gmii signal name (per spec) gmii signal name (per ksz9031mnx) pin type (with respect to phy) pin type (with respect to mac) description gtx_clk gtx_clk input output transmit reference clock (125 mhz for 1000 mbps) tx_en tx_en input output transmit enable txd[7:0] txd[7:0] input output transmit data[7:0] tx_er tx_er input output transmit error rx_clk rx_clk output input receive reference clock (125 mhz for 1000 mbps) rx_dv rx_dv output input receive data valid rxd[7:0] rxd[7:0] output input receive data[7:0] rx_er rx_er output input receive error crs crs output input carrier sense col col output input collision detected ksz9031mnx gtx _clk tx _en txd [7:0] rx_clk rx _dv rxd [7:0] gmii ethernet mac tx_er rx _er crs col gtx _clk tx _en txd[7:0] rx_clk rx _dv rxd [7:0] tx_er rx _er crs col
ksz9031mnx ds00002096c-page 20 ? 2016 microchip technology inc. 3.10 mii interface the media independent interface (mii) is compliant with the ieee 802.3 specification. it provides a common interface between mii phys and macs, and has the following key characteristics: ? pin count is 16 pins (7 pins for data transmission, 7 pins for data reception, and 2 pins for carrier and collision indi- cation). ? 10 mbps and 100 mbps are supported at both half- and full-duplex. ? data transmission and reception are independent and belong to separate signal groups. ? transmit data and receive data are each 4 bits wide, a nibble. in mii operation, the mii pins function as follows: ? the phy sources the transmit reference clock, tx_clk, at 25 mhz for 100 mbps and 2.5 mhz for 10 mbps. ? the phy recovers and sources the receive reference clock, rx_clk, at 25 mhz for 100 mbps and 2.5 mhz for 10 mbps. ? tx_en, txd[3:0], and tx_er are driven by the mac an d transition synchronously with respect to tx_clk. ? rx_dv, rxd[3:0], and rx_er are driven by the ksz90 31mnx and transition synchronously with respect to rx_clk. ? crs and col are driven by the ksz90 31mnx and do not have to transition syn chronously with re spect to either tx_clk or rx_clk. the ksz9031mnx combines gmii mode with mii mode to form gmii/mii mode to support data transfer at 10/100/ 1000 mbps. after power-up or reset, the ksz9031mnx is conf igured to gmii/mii mode if the mode[3:0] strap-in pins are set to ?0001?. see the strapping options - ksz9031mnx section. the ksz9031mnx has the option to output a 125 mhz refere nce clock on clk125_ndo (pin 55). this clock provides a lower-cost reference clock alternative for gmii/mii macs that require a 125 mhz crystal or oscillator. the 125 mhz clock output is enabled after power-up or reset if the clk125_en strap-in pin is pulled high. the ksz9031mnx provides a dedicated trans mit clock output pin (tx_clk, pin 57) for mii mode, which is sourced by the ksz9031mnx for 10/100 mbps speed. 3.10.1 mii signal definition table 3-4 describes the mii signals. refer to clause 22 of the ieee 802.3 spec ification for detailed information. table 3-4: mii signal definition mii signal name (per spec) mii signal name (per ksz9031mnx) pin type (with respect to phy) pin type (with respect to mac) description tx_clk tx_clk output input transmit reference clock (25 mhz for 100 mbps, 2.5 mhz for 10 mbps) tx_en tx_en input output transmit enable txd[3:0] txd[3:0] input out put transmit data[3:0] tx_er tx_er input output transmit error rx_clk rx_clk output input receive reference clock (25 mhz for 100 mbps, 2.5 mhz for 10 mbps) rx_dv rx_dv output input receive data valid rxd[3:0] rxd[3:0] output input receive data[3:0] rx_er rx_er output input receive error crs crs output input carrier sense col col output input collision detection
? 2016 microchip technology inc. ds00002096c-page 21 ksz9031mnx 3.10.2 mii signal diagram the ksz9031mnx mii pin connections to the mac are shown in figure 3-5 . figure 3-5: ksz9031mnx mii interface 3.11 mii management (miim) interface the ksz9031mnx supports the ieee 802.3 mii management in terface, also known as the management data input/ output (mdio) interface. this interface allows upper-layer devices to monitor and control the state of the ksz9031mnx. an external device with miim capability is used to read t he phy status and/or configure the phy settings. more details about the miim interface can be found in clause 22.2.4 of the ieee 802.3 specification. the miim interface consists of the following: ? a physical connection that incorporates th e clock line (mdc) and the data line (mdio). ? a specific protocol that operates across the physical connection mentioned earlier, which allows an external con- troller to communicate with one or more ksz9031mnx devices. each ksz9031mnx device is assigned a unique phy address between 0h and 7h by th e phyad[2:0] strapping pins. ? a 32-register address space for direct access to ieee-de fined registers and vendor-specific registers, and for indi- rect access to mmd addresses and registers. see the register map section. phy address 0h is supported as the unique phy address only; it is not supported as the broadcast phy address, which allows for a single write command to simultaneously program an identical phy register for two or more phy devices (for example, using phy address 0h to set register 0h to a value of 0x1940 to set bit [11] to a value of one to enable software power-down). instead, separate write commands are used to program each phy device. table 3-5 shows the mii management frame format for the ksz9031mnx. table 3-5: mii management fram e format for the ksz9031mnx preamble start of frame read/write op code phy address bits [4:0] reg address bits [4:0] ta data bits [15:0] idle read 32 1?s 01 10 00aaa rrrrr z0 dddddddd_dddddddd z write 32 1?s 01 01 00aaa rrrrr 10 dddddddd_dddddddd z ksz9031mnx tx _clk tx _en txd [3:0] rx_clk rx _dv rxd [3:0] mii ethernet mac tx_er rx _er crs col tx _clk tx _en txd[3:0] rx_clk rx _dv rxd [3:0] tx_er rx _er crs col
ksz9031mnx ds00002096c-page 22 ? 2016 microchip technology inc. 3.12 interrupt (int_n) the int_n pin is an optional interrupt signal that is used to inform the external controller that there has been a status update in the ksz9031mnx phy register. bits [15:8] of register 1bh are the interrupt control bits that enable and dis- able the conditions for asserting the int_n signal. bits [7:0] of register 1bh are the interrupt status bits that indicate which interrupt conditions have occurred. the interrupt status bits are cleared after reading register 1bh. bit [14] of register 1fh sets the interrupt level to ac tive high or active low. the default is active low. the mii management bus option gives the mac processor co mplete access to the ksz9031mnx control and status registers. additionally, an interrupt pin eliminates the need for the processor to poll the phy for status change. 3.13 led mode the ksz9031mnx provides two progra mmable led output pins, led2 and led1 , which are configurable to support two led modes. the led mode is configur ed by the led_mode strap-in (pin 55). it is latched at power-up/reset and is defined as follows: ? pull-up: single-led mode ? pull-down: tri-color dual-led mode each led output pin can directly drive an le d with a series resistor (typically 220 ? to 470 ? ). 3.13.1 single-led mode in single-led mode, the led2 pin indicates the link status wh ile the led1 pin indicates the activity status, as shown in table 3-6 . 3.13.2 tri-color dual-led mode in tri-color dual-led mode, the link and activity status ar e indicated by the led2 pin for 1000base-t; by the led1 pin for 100base-tx; and by both led2 and led1 pins, working in conjunction, for 10base-t. this is summarized in table 3-7 . table 3-6: single-led mode - pin definition led pin pin state led definition link/activity led2 h off link off l on link on (any speed) led1 h off no activity toggle blinking activity (rx, tx) table 3-7: tri-color dual-l ed mode - pin definition led pin (state) led pin (definition) link/activity led2 led1 led2 led1 h h off off link off l h on off 1000 link/no activity toggle h blinking off 1000 link/activity (rx, tx) h l off on 100 link/no activity h toggle off blinking 100 link/activity (rx, tx) l l on on 10 link/no activity toggle toggle blinking blinking 10 link/activity (rx, tx)
? 2016 microchip technology inc. ds00002096c-page 23 ksz9031mnx 3.14 loopback mode the ksz9031mnx supports the following loopback operations to verify analog and/or digital data paths. ? local (digital) loopback ? remote (analog) loopback 3.14.1 local (dig ital) loopback this loopback mode checks the gmii/mii transmit and receive data paths between ksz9031mnx and external mac, and is supported for all three spee ds (10/100/1000 mbps) at full-duplex. the loopback data path is shown in figure 3-6 . 1. gmii/mii mac transmits frames to ksz9031mnx. 2. frames are wrapped around inside ksz9031mnx. 3. ksz9031mnx transmits frames back to gmii/mii mac. figure 3-6: local (digital) loopback the following programming steps and register settings are used for local loopback mode. for 1000 mbps loopback, 1. set register 0h, - bit [14] = 1 // enable local loopback mode - bits [6, 13] = 10 // select 1000 mbps speed - bit [12] = 0 // dis able auto-negotiation - bit [8] = 1 // select full-duplex mode 2. set register 9h, - bit [12] = 1 // enable mast er-slave manual configuration - bit [11] = 0 // select slave conf iguration (required for loopback mode) for 10/100 mbps loopback, 1. set register 0h, - bit [14] = 1 // enable local loopback mode - bits [6, 13] = 00 / 01 // se lect 10 mbps/100 mbps speed - bit [12] = 0 // dis able auto-negotiation - bit [8] = 1 // select full-duplex mode 3.14.2 remote (analog) loopback this loopback mode checks the line (differential pairs, tran sformer, rj-45 connector, et hernet cable) transmit and receive data paths between ksz9031mnx and its link partne r, and is supported for 1 000base-t full-duplex mode only. the loopback data path is shown in figure 3-7 . 1. the gigabit phy link partner transmits frames to ksz9031mnx. 2. frames are wrapped around inside ksz9031mnx. 3. ksz9031mnx transmits frames back to the gigabit phy link partner. gmii / mii mac gmii / mii pcs (digital) afe (analog) ksz9031mnx
ksz9031mnx ds00002096c-page 24 ? 2016 microchip technology inc. figure 3-7: remote (analog) loopback the following programming steps and register settings are used for remote loopback mode. 1. set register 0h, - bits [6, 13] = 10 // select 1000 mbps speed - bit [12] = 0 // dis able auto-negotiation - bit [8] = 1 // select full-duplex mode or just auto-negotiat e and link up at 1000base-t full-dupl ex mode with the link partner. 2. set register 11h, - bit [8] = 1 // enable remote loopback mode 3.15 linkmd ? cable diagnostic the linkmd function uses time domain reflectometry (tdr) to analyze the cabling plant for common cabling problems, such as open circuits, short circuits, and impedance mismatches. linkmd operates by sending a pulse of known amplitude and duration down the selected differential pair, then analyzing the polarity and shape of the reflected signal to determine th e type of fault: open circuit for a positive/non-inverted ampli- tude reflection and short circuit for a negative/inverted amplit ude reflection. the time duration for the reflected signal to return provides the approximate distance to the cabling fault. the linkmd function processes this tdr information and presents it as a numerical value that can be translated to a cable distance. linkmd is initiated by accessing regist er 12h, the linkmd ? cable diagnostic regi ster, in conjunction with register 1ch, the auto mdi/mdi-x register. the latter register is needed to disable the auto mdi/mdi-x function before running the linkmd test. additionally, a software reset (reg. 0h, bit [15] = 1) should be performed before and after running the linkmd test. the reset helps to ensure the ksz9031mnx is in the normal operating state before and after the test. 3.16 nand tree support the ksz9031mnx provides parametric nand tree support for fault detection between chip i/os and board. nand tree mode is enabled at power-up/reset with the mode[3:0] strap-in pins set to ?0100?. table 3-8 lists the nand tree pin order. table 3-8: nand tree test pin order for ksz9031mnx pin description led2 input led1/pme_n1 input txd0 input txd1 input txd2 input txd3 input rj-45 rj-45 cat-5 (utp) ksz9031mnx 1000base-t link partner afe (analog) pcs (digital) gmii / mii
? 2016 microchip technology inc. ds00002096c-page 25 ksz9031mnx 3.17 power management the ksz9031mnx incorporates a number of power-management modes and feat ures that provide methods to con- sume less energy. these are discussed in the following sections. 3.17.1 energy-detect power-down mode energy-detect power-down (edpd) mode is used to further reduce the transceiv er power consumption when the cable is unplugged. it is enabled by writing a one to mmd address 1ch, register 23h, bi t [0], and is in effect when auto-nego- tiation mode is enabled and the cable is disconnected (no link). in edpd mode, the ksz9 031mnx shuts down all transceiver blocks, exc ept for the transmitter and energy detect cir- cuits. power can be reduced further by extending the time interval between the transmissions of link pulses to check for the presence of a link partner. the periodic transmission of link pulses is needed to ensure the ksz9031mnx and its link partner, when operating in the same low-power state and with auto mdi/mdi-x disabled, can wake up when the cable is connected between them. by defaul t, edpd mode is disabled after power-up. 3.17.2 software power-down mode this mode is used to power down the ksz9031mnx device w hen it is not in use after power-up. software power-down (spd) mode is enabled by writing a one to register 0h, bit [11]. in the spd state, the ksz 9031mnx disables all internal functions, except for the mii management interface. the ksz9031mnx exits the spd state after a zero is written to register 0h, bit [11]. 3.17.3 chip powe r-down mode this mode provides the lowest power state for the ksz9031m nx device when it is mounte d on the board but not in use. chip power-down (cpd) mode is enabled after power-up/reset with the mode[3:0] strap-in pins set to ?0111?. the ksz9031mnx exits cpd mode after a hardwa re reset is applied to the reset_n pi n (pin 56) with the mode[3:0] strap- in pins set to an operating mode other than cpd. 3.18 wake-on-lan wake-on-lan (wol) is normally a mac-bas ed function to wake up a host system (for example, an ethernet end device, such as a pc) that is in standby power mode. wake -up is triggered by receiving and detecting a special packet (commonly referred to as the ?magic packe t?) that is sent by the remote link partner. the ksz9031mnx can perform the same wol function if the mac address of its associated ma c device is entered into the ksz9031mnx phy registers for magic-packet detection. when the ksz 9031mnx detects the magic packet, it wakes up the host by driving its power management event (pme) output pin low. by default, the wol function is disabled. it is enabled by setting the enabling bit and config uring the associated registers for the selected pme wake-up detection method. the ksz9031mnx provides three methods to trigger a pme wake-up: ? magic-packet detection tx_er input gtx_clk input tx_en input rx_dv input rx_er input rx_clk input crs input col input int_/pme_n2 input mdc input mdio input clk125_ndo output table 3-8: nand tree test pin order for ksz9031mnx (continued) pin description
ksz9031mnx ds00002096c-page 26 ? 2016 microchip technology inc. ?customized-pa cket detection ? link status change detection 3.18.1 magic-packet detection the magic packet?s frame format starts with 6 bytes of 0xff h and is followed by 16 repetitions of the mac address of its associated mac device (local mac device). when the magic packet is detected from its link partner, the ksz9031mnx asserts its pme output pin low. the following mmd address 2h registers are provided for magic-packet detection: ? magic-packet detection is enabled by writing a ?1? to mmd address 2h, register 10h, bit [6] ? the mac address (for the local mac device) is writt en to and stored in mmd address 2h, registers 11h ? 13h the ksz9031mnx does not generate the magic packet. the magi c packet must be provided by the external system. 3.18.2 customized-packet detection the customized packet has associated regi ster/bit masks to sele ct which byte, or bytes, of the first 64 bytes of the packet to use in the crc calculation. after the ksz9031mnx receives the packet from its link partner, the selected bytes for the received packet are used to calculate the crc. the calculated crc is compared to the expected crc value that was previously written to and stored in the ksz9031mnx phy regist ers. if there is a match, the ksz9031mnx asserts its pme output pin low. four customized packets are provided to support four types of wake-up scenarios. a dedicated set of registers is used to configure and enable each customized packet. the following mmd registers are provided for customized-packet detection: ? each of the four customized packets is enabled via mmd address 2h, register 10h, - bit [2] // for custom ized packets, type 0 - bit [3] // for custom ized packets, type 1 - bit [4] // for custom ized packets, type 2 - bit [5] // for custom ized packets, type 3 ? 32-bit expected crcs are written to and stored in: - mmd address 2h, registers 14h ? 15h // for customized packets, type 0 - mmd address 2h, registers 16h ? 17h // for customized packets, type 1 - mmd address 2h, registers 18h ? 19h // for customized packets, type 2 - mmd address 2h, registers 1ah ? 1bh // for customized packets, type 3 ? masks to indicate which of the first 64-byte s to use in the crc calculation are set in: - mmd address 2h, registers 1ch ? 1fh // for customized packets, type 0 - mmd address 2h, registers 20h ? 23h // for customized packets, type 1 - mmd address 2h, registers 24h ? 27h // for customized packets, type 2 - mmd address 2h, registers 28h ? 2bh // for customiz ed packets, type 3 3.18.3 link status change detection if link status change detection is enab led, the ksz9031mnx asserts its pme out put pin low whenever there is a link status change using the following mmd address 2h registers bits and their enabled (1) or disabled (0) settings: ? mmd address 2h, register 10h, bit [0] // for link-up detection ? mmd address 2h, register 10h, bit [1] // for link-down detection the pme output signal is available on either led1/pme_n1 (pin 19) or int_n/pme_n2 (pin 53), and is selected and enabled using mmd address 2h, register 2h, bits [8] and [10], respectively. additionally, mmd address 2h, register 10h, bits [15:14] defines the out put functions for pins 19 and 53. the pme output is active low and requires a 1 k ? pull-up to the vddio supply. when asserted, the pme output is cleared by disabling the register bit that enabled the pme trigger source (ma gic packet, customized packet, link status change).
? 2016 microchip technology inc. ds00002096c-page 27 ksz9031mnx 3.19 typical current/power consumption table 3-9 , ta b l e 3 - 1 0 , table 3-11 , and table 3-12 show the typical current consumption by the core (dvddl, avddl, avddl_pll), transceiver (avddh) and digital i/o (dvddh) supply pins, and the total typical power for the entire ksz9031mnx device for various nominal operating voltage combinations. table 3-9: typical current/power consumption transceiver (3.3v), digital i/o (3.3v) condition 1.2v core (dvddl, avddl, avddl_pll) 3.3v transceiver (avddh) 3.3v digital i/o (dvddh) total chip power 1000base-t link-up (no traffic) 211 ma 66.6 ma 26.0 ma 560 mw 1000base-t full-duplex at 100% utilization 221 ma 65.6 ma 53.8 ma 660 mw 100base-tx link-up (no traffic) 60.6 ma 28.7 ma 13.3 ma 211 mw 100base-tx full-duplex at 100% utilization 61.2 ma 28.7 ma 18.0 ma 228 mw 10base-t link-up (no traffic) 7.0 ma 17.0 ma 5.7 ma 83 mw 10base-t full-duplex at 100% utilization 7.7 ma 29.3 ma 11.1 ma 143 mw software power-down mode (reg. 0h.11 = 1) 0.9 ma 4.1 ma 7.1 ma 38 mw table 3-10: typical current/power consumption transceiver (3.3v), digital i/o (1.8v) condition 1.2v core (dvddl, avddl, avddl_pll) 3.3v transceiver (avddh) 1.8v digital i/o (dvddh) total chip power 1000base-t link-up (no traffic) 211 ma 66.6 ma 14.2 ma 498 mw 1000base-t full-duplex at 100% utilization 221 ma 65.6 ma 29.3 ma 534 mw 100base-tx link-up (no traffic) 60.6 ma 28.7 ma 7.3 ma 181 mw 100base-tx full-duplex at 100% utilization 61.2 ma 28.7 ma 10.0 ma 186 mw 10base-t link-up (no traffic) 7.0 ma 17.0 ma 3.1 ma 70 mw 10base-t full-duplex at 100% utilization 7.7 ma 29.3 ma 6.0 ma 117 mw software power-down mode (reg. 0h.11 = 1) 0.9 ma 4.1 ma 3.7 ma 21 mw
ksz9031mnx ds00002096c-page 28 ? 2016 microchip technology inc. note 1: 2.5v avddh is recommended for commercial tem perature range (0c to +70c) operation only. note 1: 2.5v avddh is recommended for commercial tem perature range (0c to +70c) operation only. table 3-11: typical current/power consumption transceiver (2.5v; note 1 ), digital i/o (2.5v) condition 1.2v core (dvddl, avddl, avddl_pll) 2.5v transceiver (avddh) 2.5v digital i/o (dvddh) total chip power 1000base-t link-up (no traffic) 211 ma 58.6 ma 19.3 ma 448 mw 1000base-t full-duplex at 100% utilization 221 ma 57.6 ma 40.5 ma 510 mw 100base-tx link-up (no traffic) 60.6 ma 24.8 ma 10.0 ma 160 mw 100base-tx full-duplex at 100% utilization 61.2 ma 24.8 ma 13.7 ma 170 mw 10base-t link-up (no traffic) 7.0 ma 12.5 ma 4.3 ma 50 mw 10base-t full-duplex at 100% utilization 7.7 ma 25.8 ma 8.3 ma 94 mw software power-down mode (reg. 0h.11 = 1) 0.9 ma 3.0 ma 5.3 ma 22 mw table 3-12: typical current/power consumption transceiver (2.5v; note 1 ), digital i/o (1.8v) condition 1.2v core (dvddl, avddl, avddl_pll) 2.5v transceiver (avddh) 1.8v digital i/o (dvddh) total chip power 1000base-t link-up (no traffic) 211 ma 58.6 ma 14.2 ma 425 mw 1000base-t full-duplex at 100% utilization 221 ma 57.6 ma 29.3 ma 462 mw 100base-tx link-up (no traffic) 60.6 ma 24.8 ma 7.3 ma 148 mw 100base-tx full-duplex at 100% utilization 61.2 ma 24.8 ma 10.0 ma 153 mw 10base-t link-up (no traffic) 7.0 ma 12.5 ma 3.1 ma 45 mw 10base-t full-duplex at 100% utilization 7.7 ma 25.8 ma 6.0 ma 85 mw software power-down mode (reg. 0h.11 = 1) 0.9 ma 3.0 ma 3.7 ma 15 mw
? 2016 microchip technology inc. ds00002096c-page 29 ksz9031mnx 4.0 register descriptions this chapter describes the various co ntrol and status registers (csrs). 4.1 register map the register space within the ksz9031mnx consists of two distinct areas. ? standard registers // direct register access ? mdio manageable device (mmd) registers // indirect register access the ksz9031mnx supports the following standard registers. the ksz9031mnx supports the following mmd device addresse s and their associated register addresses, which make up the indirect mmd register s. these can be seen in ta b l e 4 - 2 . table 4-1: standard registers supported by ksz9031mnx register number (hex) description ieee-defined registers 0h basic control 1h basic status 2h phy identifier 1 3h phy identifier 2 4h auto-negotiation advertisement 5h auto-negotiation link partner ability 6h auto-negotiation expansion 7h auto-negotiation next page 8h auto-negotiation link partner next page ability 9h 1000base-t control ah 1000base-t status bh - ch reserved dh mmd access ? control eh mmd access ? register/data fh extended status vendor-specific registers 10h reserved 11h remote loopback 12h linkmd cable diagnostic 13h digital pma/pcs status 14h reserved 15h rxer counter 16h - 1ah reserved 1bh interrupt control/status 1ch auto mdi/mdi-x 1dh - 1eh reserved 1fh phy control
ksz9031mnx ds00002096c-page 30 ? 2016 microchip technology inc. table 4-2: mmd registers supported by ksz9031mnx device address (hex) register address (hex) description 0h 3h an flp burst transmit ? lo 4h an flp burst transmit ? hi 1h 5ah 1000base-t link-up time control 2h 0h common control 1h strap status 2h operation mode strap override 3h operation mode strap status 4h gmii control signal pad skew 8h gmii clock pad skew 10h wake-on-lan ? control 11h wake-on-lan ? magic packet, mac-da-0 12h wake-on-lan ? magic packet, mac-da-1 13h wake-on-lan ? magic packet, mac-da-2 14h wake-on-lan ? customized packet, type 0, expected crc 0 15h wake-on-lan ? customized packet, type 0, expected crc 1 16h wake-on-lan ? customized packet, type 1, expected crc 0 17h wake-on-lan ? customized packet, type 1, expected crc 1 18h wake-on-lan ? customized packet, type 2, expected crc 0 19h wake-on-lan ? customized packet, type 2, expected crc 1 1ah wake-on-lan ? customized packet, type 3, expected crc 0 1bh wake-on-lan ? customized packet, type 3, expected crc 1 1ch wake-on-lan ? customized packet, type 0, mask 0 1dh wake-on-lan ? customized packet, type 0, mask 1 1eh wake-on-lan ? customized packet, type 0, mask 2 1fh wake-on-lan ? customized packet, type 0, mask 3 20h wake-on-lan ? customized packet, type 1, mask 0 21h wake-on-lan ? customized packet, type 1, mask 1 22h wake-on-lan ? customized packet, type 1, mask 2 23h wake-on-lan ? customized packet, type 1, mask 3
? 2016 microchip technology inc. ds00002096c-page 31 ksz9031mnx 4.2 standard registers standard registers provide direct read/writ e access to a 32-register address space, as defined in clause 22 of the ieee 802.3 specification. within this addre ss space, the first 16 registers (registers 0h to fh) are defined according to the ieee specification, while the remaining 16 registers (registers 10h to 1fh) are defined specific to the phy vendor. 2h 24h wake-on-lan ? customized packet, type 2, mask 0 25h wake-on-lan ? customized packet, type 2, mask 1 26h wake-on-lan ? customized packet, type 2, mask 2 27h wake-on-lan ? customized packet, type 2, mask 3 28h wake-on-lan ? customized packet, type 3, mask 0 29h wake-on-lan ? customized packet, type 3, mask 1 2ah wake-on-lan ? customized packet, type 3, mask 2 2bh wake-on-lan ? customized packet, type 3, mask 3 1ch 4h analog control 4 23h edpd control table 4-3: ieee-defined register descriptions address name description mode ( note 4-1 ) default register 0h ? basic control 0.15 reset 1 = software phy reset 0 = normal operation this bit is self-cleared after a ?1? is written to it. rw/sc 0 0.14 loopback 1 = loopback mode 0 = normal operation rw 0 0.13 speed select (lsb) [0.6, 0.13] [1,1] = reserved [1,0] = 1000 mbps [0,1] = 100 mbps [0,0] = 10 mbps this bit is ignored if auto-negotiation is enabled (reg. 0.12 = 1). rw 0 0.12 auto-negoti- ation enable 1 = enable auto-negotiation process 0 = disable auto-negotiation process if enabled, auto-negotiati on result overrides set- tings in reg. 0.13, 0.8 and 0.6. if disabled, auto mdi-x is also automatically dis- abled. use register 1ch to set mdi/mdi-x. rw 1 table 4-2: mmd registers suppor ted by ksz9031mnx (continued) device address (hex) register address (hex) description
ksz9031mnx ds00002096c-page 32 ? 2016 microchip technology inc. 0.11 power-down 1 = power - down mode 0 = normal operation when this bit is set to ?1?, the link-down status might not get updated in th e phy register. software should note link is down and should not rely on the phy register link status. after this bit is changed from ?1? to ?0?, an internal global reset is automatically generated. wait a min- imum of 1 ms before read/write access to the phy registers. rw 0 0.10 isolate 1 = electrical isolation of phy from gmii/mii 0 = normal operation rw 0 0.9 restart auto- negotiation 1 = restart auto-negotiation process 0 = normal operation this bit is self-cleared after a ?1? is written to it. rw/sc 0 0.8 duplex mode 1 = full-duplex 0 = half-duplex rw 1 0.7 collision test 1 = enable col test 0 = disable col test rw 0 0.6 speed select (msb) [0.6, 0.13] [1,1] = reserved [1,0] = 1000 mbps [0,1] = 100 mbps [0,0] = 10 mbps this bit is ignored if auto-negotiation is enabled (reg. 0.12 = 1). rw set by mode[3:0] strapping pins. see the strapping options - ksz9031mnx section for details. 0.5:0 reserved reserved ro 00_0000 register 1h - basic status 1.15 100base-t4 1 = t4 capable 0 = not t4 capable ro 0 1.14 100base-tx full-duplex 1 = capable of 100 mbps full-duplex 0 = not capable of 100 mbps full-duplex ro 1 1.13 100base-tx half-duplex 1 = capable of 100 mbps half-duplex 0 = not capable of 100 mbps half-duplex ro 1 1.12 10base-t full-duplex 1 = capable of 10 mbps full-duplex 0 = not capable of 10 mbps full-duplex ro 1 1.11 10base-t half-duplex 1 = capable of 10 mbps half-duplex 0 = not capable of 10 mbps half-duplex ro 1 1.10:9 reserved reserved ro 00 1.8 extended status 1 = extended status info in reg. 15h. 0 = no extended status info in reg. 15h. ro 1 1.7 reserved reserved ro 0 1.6 no preamble 1 = preamble suppression 0 = normal preamble ro 1 1.5 auto-negoti- ation com- plete 1 = auto-negotiation process completed 0 = auto-negotiation process not completed ro 0 1.4 remote fault 1 = remote fault 0 = no remote fault ro/lh 0 table 4-3: ieee-defined regist er descriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 33 ksz9031mnx 1.3 auto-negoti- ation ability 1 = can perform auto-negotiation 0 = cannot perform auto-negotiation ro 1 1.2 link status 1 = link is up 0 = link is down ro/ll 0 1.1 jabber detect 1 = jabber detected 0 = jabber not detected (default is low) ro/lh 0 1.0 extended capability 1 = supports extended capability registers ro 1 register 2h - phy identifier 1 2.15:0 phy id num- ber assigned to the 3rd through 18th bits of the organi- zationally unique identifier (oui). kendin commu- nication?s oui is 0010a1h . ro 0022h register 3h - phy identifier 2 3.15:10 phy id num- ber assigned to the 19th through 24th bits of the orga- nizationally unique identifier (oui). kendin com- munication?s oui is 0010a1h . ro 0001_01 3.9:4 model num- ber six-bit manufacturer?s model number ro 10_0010 3.3:0 revision number four-bit manufacturer?s revision number ro indicates silicon revision register 4h - auto-negotiation advertisement 4.15 next page 1 = next page capable 0 = no next page capability rw 0 4.14 reserved reserved ro 0 4.13 remote fault 1 = remote fault supported 0 = no remote fault rw 0 4.12 reserved reserved ro 0 4.11:10 pause [4.11, 4.10] [0,0] = no pause [1,0] = asymmetric pause (link partner) [0,1] = symmetric pause [1,1] = symmetric and asymmetric pause (local device) rw 00 4.9 100base-t4 1 = t4 capable 0 = no t4 capability ro 0 4.8 100base-tx full-duplex 1 = 100 mbps full-duplex capable 0 = no 100 mbps full-duplex capability rw 1 4.7 100base-tx half-duplex 1 = 100 mbps half-duplex capable 0 = no 100 mbps half-duplex capability rw 1 4.6 10base-t full-duplex 1 = 10 mbps full-duplex capable 0 = no 10 mbps full-duplex capability rw 1 4.5 10base-t half-duplex 1 = 10 mbps half-duplex capable 0 = no 10 mbps half-duplex capability rw 1 4.4:0 selector field [00001] = ieee 802.3 rw 0_0001 register 5h - auto-negotia tion link partner ability 5.15 next page 1 = next page capable 0 = no next page capability ro 0 table 4-3: ieee-defined regist er descriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 34 ? 2016 microchip technology inc. 5.14 acknowledge 1 = link code word received from partner 0 = link code word not yet received ro 0 5.13 remote fault 1 = remote fault detected 0 = no remote fault ro 0 5.12 reserved reserved ro 0 5.11:10 pause [5.11, 5.10] [0,0] = no pause [1,0] = asymmetric pause (link partner) [0,1] = symmetric pause [1,1] = symmetric and asymmetric pause (local device) rw 00 5.9 100base-t4 1 = t4 capable 0 = no t4 capability ro 0 5.8 100base-tx full-duplex 1 = 100 mbps full-duplex capable 0 = no 100 mbps full-duplex capability ro 0 5.7 100base-tx half-duplex 1 = 100 mbps half-duplex capable 0 = no 100 mbps half-duplex capability ro 0 5.6 10base-t full-duplex 1 = 10 mbps full-duplex capable 0 = no 10 mbps full-duplex capability ro 0 5.5 10base-t half-duplex 1 = 10 mbps half-duplex capable 0 = no 10 mbps half-duplex capability ro 0 5.4:0 selector field [00001] = ieee 802.3 ro 0_0000 register 6h - auto-n egotiation expansion 6.15:5 reserved reserved ro 0000_0000_000 6.4 parallel detection fault 1 = fault detected by parallel detection 0 = no fault detected by parallel detection ro/lh 0 6.3 link partner next page able 1 = link partner has next page capability 0 = link partner does not have next page capability ro 0 6.2 next page able 1 = local device has next page capability 0 = local device does not have next page capabil- ity ro 1 6.1 page received 1 = new page received 0 = new page not received ro/lh 0 6.0 link partner auto-negoti- ation able 1 = link partner has auto-negotiation capability 0 = link partner does not have auto-negotiation capability ro 0 register 7h - auto-n egotiation next page 7.15 next page 1 = additional next pages will follow 0 = last page rw 0 7.14 reserved reserved ro 0 7.13 message page 1 = message page 0 = unformatted page rw 1 7.12 acknowl- edge2 1 = will comply with message 0 = cannot comply with message rw 0 table 4-3: ieee-defined regist er descriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 35 ksz9031mnx 7.11 toggle 1 = previous value of the transmitted link code word equal to logic one 0 = previous value of the transmitted link code word equal to logic zero ro 0 7.10:0 message field 11-bit wide field to encode 2048 messages rw 000_0000_0001 register 8h - link partner next page ability 8.15 next page 1 = additional next pages will follow 0 = last page ro 0 8.14 acknowledge 1 = successful receipt of link word 0 = no successful re ceipt of link word ro 0 8.13 message page 1 = message page 0 = unformatted page ro 0 8.12 acknowl- edge2 1 = able to act on the information 0 = not able to act on the information ro 0 8.11 toggle 1 = previous value of transmitted link code word equal to logic zero 0 = previous value of transmitted link code word equal to logic one ro 0 8.10:0 message field ? ro 000_0000_0000 register 9h ? 1000base-t control 9.15:13 test mode bits transmitter test mode operations [9.15:13] mode [000] normal operation [001] test mode 1 ?transmit waveform test [010] test mode 2 ?transmit jitter test in master mode [011] test mode 3 ?transmit jitter test in slave mode [100] test mode 4 ?transmitter distortion test [101] reserved, operations not identified [110] reserved, operations not identified [111] reserved, operat ions not identified to enable 1000base-t test mode: 1) set register 0h = 0x014 0 to disable auto-negoti- ation and select 1000mbps speed. 2) set register 9h, bits [15:13] = 001, 010, 011, or 100 to select one of the 1000base-t test modes. after the above settings, the test waveform for the selected test mode is tr ansmitted onto each of the 4 differential pairs. no link partner is needed. rw 000 9.12 master-slave manual con- figuration enable 1 = enable master - slave manual configuration value 0 = disable master - slave manual configuration value rw 0 9.11 master-slave manual con- figuration value 1 = configure phy as master during master - slave negotiation 0 = configure phy as slave during master - slave negotiation this bit is ignored if master - slave manual configu- ration is disabled (reg. 9.12 = 0). rw 0 table 4-3: ieee-defined regist er descriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 36 ? 2016 microchip technology inc. 9.10 port type 1 = indicate the preference to operate as multi-port device (master) 0 = indicate the preference to operate as single - port device (slave) this bit is valid only if master - slave manual config- uration is disabled (reg. 9.12 = 0). rw 0 9.9 1000base-t full-duplex 1 = advertise phy is 1000base-t full-duplex capable 0 = advertise phy is no t 1000base-t fu ll-duplex capable rw 1 9.8 1000base-t half-duplex 1 = advertise phy is 1000base-t half-duplex capable 0 = advertise phy is no t 1000base-t hal f-duplex capable rw set by mode[3:0] strapping pins. see the strapping options - ksz9031mnx section for details. 9.7:0 reserved write as 0, ignore on read ro register ah ? 1000base-t status a.15 master-slave configura- tion fault 1 = master-slave configuration fault detected 0 = no master - slave configuration fault detected ro/lh/sc 0 a.14 master-slave configura- tion resolu- tion 1 = local phy configuration resolved to master 0 = local phy configuration resolved to slave ro 0 a.13 local receiver sta- tus 1 = local receiver ok (loc_rcvr_status = 1) 0 = local receiver not ok (loc_rcvr_status = 0) ro 0 a.12 remote receiver sta- tus 1 = remote receiver ok (rem_rcvr_status = 1) 0 = remote receiver not ok (rem_rcvr_status = 0) ro 0 a.11 link partner 1000base-t full-duplex capability 1 = link partner is capable of 1000base-t full- duplex 0 = link partner is not capable of 1000base-t full-duplex ro 0 a.10 link partner 1000base-t half-duplex capability 1 = link partner is capable of 1000base-t half- duplex 0 = link partner is not capable of 1000base-t half-duplex ro 0 a.9:8 reserved reserved ro 00 a.7:0 idle error count cumulative count of erro rs detected when receiver is receiving idles and pma_txmode.indicate = send_n. the counter is incremented every symbol period that rxerror_status = error. ro/sc 0000_0000 table 4-3: ieee-defined regist er descriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 37 ksz9031mnx note 4-1 rw = read/write; ro = read only; sc = self-cleared; lh = latch high; ll = latch low. register dh - mmd access ? control d.15:14 mmd ? operation mode for the selected mmd device address (bits [4:0] of this register), these two bits select one of the fol- lowing register or data operations and the usage for mmd access ? register/data (reg. eh). 00 = register 01 = data, no post increment 10 = data, post increment on reads and writes 11 = data, post increment on writes only rw 00 d.13:5 reserved reserved rw 00_0000_000 d.4:0 mmd ? device address these five bits set the mmd device address. rw 0_0000 register eh - mmd access ? register/data e.15:0 mmd ? register/ data for the selected mmd device address (reg. dh, bits [4:0]), when reg. dh, bits [15:14] = 00, this register contains the read/writ e register address for the mmd device address . otherwise, this register contains the read/write data value for the mmd device address and its selected register address. see also reg. dh, bits [15:14], for descriptions of post increment reads and writes of this register for data operation. rw 0000_0000_0000_00 00 register fh ? extended status f. 1 5 1000base-x full-duplex 1 = phy can perform 1000base-x full-duplex 0 = phy cannot perform 1000base-x full-duplex ro 0 f. 1 4 1000base-x half-duplex 1 = phy can perform 1000base-x half-duplex 0 = phy cannot perform 1000base-x half-duplex ro 0 f. 1 3 1000base-t full-duplex 1 = phy can perform 1000base-t full-duplex 0 = phy cannot perfo rm 1000base-t full-duplex ro 1 f. 1 2 1000base-t half-duplex 1 = phy can perform 1000base-t half-duplex 0 = phy cannot perfo rm 1000base-t half-duplex ro 1 f.11:0 reserved ignore when read ro ? table 4-4: vendor-specific register descriptions address name description mode ( note 4-1 ) default register 11h ? remote loopback 11.15:9 reserved reserved rw 0000_000 11.8 remote loopback 1 = enable remote loopback 0 = disable remote loopback rw 0 11.7:1 reserved reserved rw 1111_010 11.0 reserved reserved ro 0 table 4-3: ieee-defined regist er descriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 38 ? 2016 microchip technology inc. register 12h ? linkmd ? cable diagnostic 12.15 cable diag- nostic test enable write value: 1 = enable cable diagnostic test. after test has completed, this bit is self-cleared. 0 = disable cable diagnostic test. read value: 1 = cable diagnostic test is in progress. 0 = indicates cable diagnostic test (if enabled) has completed and the status information is valid for read. rw/sc 0 12.14 reserved this bit should always be set to ?0?. rw 0 12.13:12 cable diag- nostic test pair these two bits select the differential pair for testing: 00 = differential pair a (pins 2, 3) 01 = differential pair b (pins 7, 8) 10 = differential pair c (pins 10, 11) 11 = differential pair d (pins 14, 15) rw 00 12.11:10 reserved these two bits should always be set to ?00?. rw 00 12.9:8 cable diag- nostic status these two bits represent the test result for the selected differential pair in bits [13:12] of this regis- ter. 00 = normal cable condition (no fault detected) 01 = open cable fault detected 10 = short cable fault detected 11 = reserved ro 00 12.7:0 cable diag- nostic fault data for the open or short cable fault detected in bits [9:8] of this register, this 8-bit value represents the distance to the cable fault. ro 0000_0000 register 13h ? digital pma/pcs status 13.15:3 reserved reserved ro/lh 0000_0000_0000_0 13.2 1000base-t link status 1000base-t link status 1 = link status is ok 0 = link status is not ok ro 0 13.1 100base-tx link status 100base-tx link status 1 = link status is ok 0 = link status is not ok ro 0 13.0 reserved reserved ro 0 register 15h ? rxer counter 15.15:0 rxer counter receive error counter for symbol error frames ro/rc 0000_0000_0000_00 00 register 1bh ? interrupt control/status 1b.15 jabber inter- rupt enable 1 = enable jabber interrupt 0 = disable jabber interrupt rw 0 1b.14 receive error inter- rupt enable 1 = enable receive error interrupt 0 = disable receive error interrupt rw 0 1b.13 page received interrupt enable 1 = enable page received interrupt 0 = disable page received interrupt rw 0 table 4-4: vendor-specific register descriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 39 ksz9031mnx 1b.12 parallel detect fault interrupt enable 1 = enable parallel detect fault interrupt 0 = disable parallel detect fault interrupt rw 0 1b.11 link partner acknowl- edge inter- rupt enable 1 = enable link partner acknowledge interrupt 0 = disable link partner acknowledge interrupt rw 0 1b.10 link-down interrupt enable 1 = enable link-down interrupt 0 = disable link-down interrupt rw 0 1b.9 remote fault interrupt enable 1 = enable remote fault interrupt 0 = disable remote fault interrupt rw 0 1b.8 link-up interrupt enable 1 = enable link-up interrupt 0 = disable link-up interrupt rw 0 1b.7 jabber inter- rupt 1 = jabber occurred 0 = jabber did not occur ro/rc 0 1b.6 receive error inter- rupt 1 = receive error occurred 0 = receive error did not occur ro/rc 0 1b.5 page receive interrupt 1 = page receive occurred 0 = page receive did not occur ro/rc 0 1b.4 parallel detect fault interrupt 1 = parallel detect fault occurred 0 = parallel detect fault did not occur ro/rc 0 1b.3 link partner acknowl- edge inter- rupt 1 = link partner acknowledge occurred 0 = link partner acknowledge did not occur ro/rc 0 1b.2 link-down interrupt 1 = link-down occurred 0 = link-down did not occur ro/rc 0 1b.1 remote fault interrupt 1 = remote fault occurred 0 = remote fault did not occur ro/rc 0 1b.0 link-up interrupt 1 = link-up occurred 0 = link-up did not occur ro/rc 0 register 1ch ? auto mdi/mdi-x 1c.15:8 reserved reserved rw 0000_0000 1c.7 mdi set when swap-off (bit [6] of this register) is asserted (1), 1 = phy is set to operate as mdi mode 0 = phy is set to operate as mdi-x mode this bit has no function when swap-off is de- asserted (0). rw 0 1c.6 swap-off 1 = disable auto mdi/mdi-x function 0 = enable auto mdi/mdi-x function rw 0 1c.5:0 reserved reserved rw 00_0000 table 4-4: vendor-specific register descriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 40 ? 2016 microchip technology inc. note 4-1 rw = read/write; ro = read only; sc = self-cleared; lh = latch high; ll = latch low. register 1fh ? phy control 1f.15 reserved reserved rw 0 1f.14 interrupt level 1 = interrupt pin active high 0 = interrupt pin active low rw 0 1f.13:12 reserved reserved rw 00 1f.11:10 reserved reserved ro/lh/rc 00 1f.9 enable jabber 1 = enable jabber counter 0 = disable jabber counter rw 1 1f.8:7 reserved reserved rw 00 1f.6 speed status 1000base-t 1 = indicate chip final sp eed status at 1000base-t ro 0 1f.5 speed status 100base-tx 1 = indicate chip final sp eed status at 100base-tx ro 0 1f.4 speed status 10base-t 1 = indicate chip final speed status at 10base-t ro 0 1f.3 duplex status indicate chip duplex status 1 = full-duplex 0 = half-duplex ro 0 1f.2 1000base-t master/slave status indicate chip master/slave status 1 = 1000base-t master mode 0 = 1000base-t slave mode ro 0 1f.1 reserved reserved rw 0 1f.0 link status check fail 1 = fail 0 = not failing ro 0 table 4-4: vendor-specific register descriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 41 ksz9031mnx 4.3 mmd registers mmd registers provide indirect read/write access to up to 32 mmd device addresses with each device supporting up to 65,536 16-bit registers, as defined in cl ause 22 of the ieee 802.3 specification. the ksz9031mnx, however, uses only a small fraction of the available registers. see the register map section for a list of supported mmd device addresses and their associated register addresses. the following two standard registers serve as the porta l registers to access the indirect mmd registers. ? standard register dh ? mmd access ? control ? standard register eh ? mmd access ? register/data note 4-1 rw = read/write example: mmd register write write mmd - device address 2h, register 10h = 0001h to enable link-up detection to trigger pme for wol. 1. write register dh with 0002h // set up register address for mmd ? device address 2h. 2. write register eh with 0010h // sele ct register 10h of mmd ? device address 2h. 3. write register dh with 4002h // select regist er data for mmd ? device address 2h, register 10h. 4. write register eh with 0001h // write value 0001h to mmd ? device address 2h, register 10h. example: mmd register read read mmd - device address 2h, register 11 h ? 13h for the magic packet?s mac address. 1. write register dh with 0002h // set up register address for mmd ? device address 2h. 2. write register eh with 0011h // select register 11h of mmd ? device address 2h. 3. write register dh with 8002h // select regist er data for mmd ? device address 2h, register 11h. 4. read register eh // read data in mmd ? device address 2h, register 11h. 5. read register eh // read data in mmd ? device address 2h, register 12h. 6. read register eh // read data in mmd ? device address 2h, register 13h. table 4-5: mmd portal registers address name description mode ( note 4-1 ) default register dh - mmd access ? control d.15:14 mmd - operation mode for the selected mmd devic e address (bits [4:0] of this register), these two bits select one of the fol- lowing register or data operations and the usage for mmd access ? register/data (reg. eh). 00 = register 01 = data, no post increment 10 = data, post increment on reads and writes 11 = data, post increment on writes only rw 00 d.13:5 reserved reserved rw 00_0000_000 d.4:0 mmd ? device address these five bits set the mmd device address rw 0_0000 register eh - mmd access ? register/data e.15:0 mmd ? register/ data for the selected mmd de vice address (reg. dh, bits [4:0]), when reg. dh, bits [15:14 ] = 00, this register con- tains the read/write register address for the mmd device address. otherwise, this register contains the read/write data value for the mmd device address and its selected register address. see also register dh, bits [15:14] descriptions for post increment reads and writes of this register for data operation. rw 0000_0000_ 0000_0000
ksz9031mnx ds00002096c-page 42 ? 2016 microchip technology inc. table 4-6: mmd register descriptions address name description mode ( note 4-1 ) default mmd address 0h, register 3h ? an flp burst transmit ? lo 0.3.15:0 an flp burst transmit ? lo this register and the following register set the auto-negotiation flp burst transmit timing. the same timing must be set for both registers. 0x4000 = select 8 ms interval timing (default) 0x1a80 = select 16 ms interval timing all other values are reserved. rw 0x4000 mmd address 0h, register 4h ? an flp burst transmit ? hi 0.4.15:0 an flp burst transmit ? hi this register and the previous register set the auto- negotiation flp burst transmit timing. the same timing must be set for both registers. 0x0003 = select 8 ms interval timing (default) 0x0006 = select 16 ms interval timing all other values are reserved. rw 0x0003 mmd address 1h, register 5ah ? 1000base-t link-up time control 1.5a.15:9 reserved reserved ro 0000_000 1.5a.8:4 reserved reserved rw 1_0000 1.5a.3:1 1000base-t link-up time when the link partner is another ksz9031 device, the 1000base-t lin k-up time can be long. these three bits provide an optional setting to reduce the 1000base-t link-up time. 100 = default power-up setting 011 = optional setting to reduce link-up time when the link partner is a ksz9031 device. all other settings are reserved and should not be used. the optional setting is safe to use with any link partner. note: read/write access to this register bit is avail- able only when reg. 0h is set to 0x2100 to disable auto-negotiation and force 100base-tx mode. rw 100 1.5a.0 reserved reserved rw 0 mmd address 2h, register 0h ? common control 2.0.15:5 reserved reserved rw 0000_0000_000 2.0.4 led mode override override strap-in for led_mode 1 = single-led mode 0 = tri-color dual-led mode this bit is write-only and always reads back a value of ?0?. the updated value is reflected in bit [3] of this register. wo 0 2.0.3 led mode led_mode status 1 = single-led mode 0 = tri-color dual-led mode ro set by led_mode strapping pin. see the strapping options - ksz9031mnx section for details. can be updated by bit [4] of this register after reset. 2.0.2 reserved reserved rw 0
? 2016 microchip technology inc. ds00002096c-page 43 ksz9031mnx 2.0.1 clk125_en status override strap-in for clk125_en 1 = clk125_en strap-in is enabled 0 = clk125_en strap-in is disabled rw set by clk125_en strapping pin. see the strapping options - ksz9031mnx section for details. 2.0.0 reserved reserved rw 0 mmd address 2h, register 1h ? strap status 2.1.15:8 reserved reserved ro 0000_0000 2.1.7 led_mode strap-in status strap to 1 = single-led mode 0 = tri-color dual-led mode ro set by led_mode strapping pin. see the strapping options - ksz9031mnx section for details. 2.1.6 reserved reserved ro 0 2.1.5 clk125_en strap-in status strap to 1 = clk125_en strap-in is enabled 0 = clk125_en strap-in is disabled ro set by clk125_en strapping pin. see the strapping options - ksz9031mnx section for details. 2.1.4:3 reserved reserved ro 00 2.1.2:0 phyad[2:0] strap-in value strap-in value for phy address bits [4:3] of phy address are always set to ?00?. ro set by phyad[2:0] strapping pin. see the strapping options - ksz9031mnx section for details. mmd address 2h, register 2h ? operation mode strap override 2.2.15:11 reserved reserved rw 0000_0 2.2.10 pme_n2 output enable for int_n/pme_n2 (pin 53), 1 = enable pme output 0 = disable pme output this bit works in conjunction with mmd address 2h, reg. 10h, bits [15:14] to define the output for pin 53. rw 0 2.2.9 reserved reserved rw 0 2.2.8 pme_n1 output enable for led1/pme_n1 (pin 19), 1 = enable pme output 0 = disable pme output this bit works in conjunction with mmd address 2h, reg. 10h, bits [15:14] to define the output for pin 19. rw 0 2.2.7 chip power- down over- ride 1 = override strap-in for chip power-down mode rw set by mode[3:0] strapping pin. see the strapping options - ksz9031mnx section for details. 2.2.6:5 reserved reserved rw 00 table 4-6: mmd register d escriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 44 ? 2016 microchip technology inc. 2.2.4 nand tree override 1 = override strap-in for nand tree mode rw set by mode[3:0] strapping pin. see the strapping options - ksz9031mnx section for details. 2.2.3:2 reserved reserved rw 00 2.2.1 gmii/mii override 1 = override strap-in for gmii/mii mode rw set by mode[3:0] strapping pin. see the strapping options - ksz9031mnx section for details. 2.2.0 reserved reserved rw 0 mmd address 2h, register 3h ? operation mode strap status 2.3.15:8 reserved reserved ro 0000_0000 2.3.7 chip power- down strap- in status 1 = strap to chip power-down mode ro set by mode[3:0] strapping pin. see the strapping options - ksz9031mnx section for details. 2.3.6:5 reserved reserved ro 00 2.3.4 nand tree strap-in status 1 = strap to nand tree mode ro set by mode[3:0] strapping pin. see the strapping options - ksz9031mnx section for details. 2.3.3:2 reserved reserved ro 00 2.3.1 gmii/mii strap-in status 1 = strap to gmii/mii mode ro set by mode[3:0] strapping pin. see the strapping options - ksz9031mnx section for details. 2.3.0 reserved reserved ro 0 mmd address 2h, register 4h ? gmii control signal pad skew 2.4.15:8 reserved reserved rw 0000_0000 2.4.7:4 rx_dv pad skew gmii rx_dv output pad skew control (0.06 ns/ step) rw 0111 2.4.3:0 tx_en pad skew gmii tx_en input pad skew c ontrol (0.06 ns/step) rw 0111 mmd address 2h, register 8h ? gmii clock pad skew 2.8.15:10 reserved reserved rw 0000_00 2.8.9:5 gtx_clk pad skew gmii gtx_clk input pad skew control (0.06 ns/ step) rw 01_111 2.8.4:0 rx_clk pad skew gmii rx_clk output pad skew control (0.06 ns/ step) rw 0_1111 table 4-6: mmd register d escriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 45 ksz9031mnx mmd address 2h, register 10h ? wake-on-lan ? control 2.10.15:14 pme output select these two bits work in conjunction with mmd address 2h, reg. 2h, bits [8] and [10] for pme_n1 and pme_n2 enable , to define the output for pins 19 and 53, respectively. led1/pme_n1 (pin 19) 00 = pme_n1 output only 01 = led1 output only 10 = led1 and pme_n1 output 11 = reserved int_n/pme_n2 (pin 53) 00 = pme_n2 output only 01 = int_n output only 10 = int_n and pme_n2 output 11 = reserved rw 00 2.10.13:7 reserved reserved rw 00_0000_0 2.10.6 magic packet detect enable 1 = enable magic-packet detection 0 = disable magic-packet detection rw 0 2.10.5 custom - packet type 3 detect enable 1 = enable custom-packet, type 3 detection 0 = disable custom-packet, type 3 detection rw 0 2.10.4 custom- packet type 2 detect enable 1 = enable custom-packet, type 2 detection 0 = disable custom - packet, type 2 detection rw 0 2.10.3 custom - packet type 1 detect enable 1 = enable custom-packet, type 1 detection 0 = disable custom - packet, type 1 detection rw 0 2.10.2 custom - packet type 0 detect enable 1 = enable custom - packet, type 0 detection 0 = disable custom - packet, type 0 detection rw 0 2.10.1 link-down detect enable 1 = enable link-down detection 0 = disable link-down detection rw 0 2.10.0 link-up detect enable 1 = enable link-up detection 0 = disable link-up detection rw 0 mmd address 2h, register 11h ? w ake-on-lan ? magic packet, mac-da-0 2.11.15:0 magic packet mac-da-0 this register stores the lower two bytes of the des- tination mac address for the magic packet . bit [15:8] = byte 2 (mac address [15:8]) bit [7:0] = byte 1 (mac address [7:0]) the upper four bytes of the destination mac address are stored in the following two registers. rw 0000_0000_0000_00 00 table 4-6: mmd register d escriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 46 ? 2016 microchip technology inc. mmd address 2h, register 12h ? wake -on-lan ? magic packet, mac-da-1 2.12.15:0 magic packet mac-da-1 this register stores the middle two bytes of the destination mac address for the magic packet . bit [15:8] = byte 4 (mac address [31:24]) bit [7:0] = byte 3 (mac address [23:16]) the lower two bytes and upper two bytes of the destination mac address are stored in the previous and following registers, respectively. rw 0000_0000_0000_00 00 mmd address 2h, register 13h ? wake -on-lan ? magic packet, mac-da-2 2.13.15:0 magic packet mac-da-2 this register stores the upper two bytes of the des- tination mac address for the magic packet . bit [15:8] = byte 6 (mac address [47:40]) bit [7:0] = byte 5 (mac address [39:32]) the lower four bytes of the destination mac address are stored in the previous two registers. rw 0000_0000_0000_00 00 mmd address 2h, register 14h ? wake-on-lan ? customized pa cket, type 0, expected crc 0 mmd address 2h, register 16h ? wake-on-lan ? customized pa cket, type 1, expected crc 0 mmd address 2h, register 18h ? wake-on-lan ? customized pa cket, type 2, expected crc 0 mmd address 2h, register 1ah ? wake-on-lan ? customized packet, type 3, expected crc 0 2.14.15:0 2.16.15:0 2.18.15:0 2.1a.15:0 custom packet type x crc 0 this register stores the upper two bytes for the expected crc . bit [15:8] = byte 2 (crc [15:8]) bit [7:0] = byte 1 (crc [7:0]) the lower two bytes for the expected crc are stored in the following register. rw 0000_0000_0000_00 00 mmd address 2h, register 15h ? wake-on-lan ? customized pa cket, type 0, expected crc 1 mmd address 2h, register 17h ? wake-on-lan ? customized pa cket, type 1, expected crc 1 mmd address 2h, register 19h ? wake-on-lan ? customized pa cket, type 2, expected crc 1 mmd address 2h, register 1bh ? wake-on-lan ? customized packet, type 3, expected crc 1 2.15.15:0 2.17.15:0 2.19.15:0 2.1b.15:0 custom packet type x crc 1 this register stores the lower two bytes for the expected crc . bit [15:8] = byte 4 (crc [31:24]) bit [7:0] = byte 3 (crc [23:16]) the upper two bytes for the expected crc are stored in the previous register. rw 0000_0000_0000_00 00 mmd address 2h, register 1ch ? wake-on-lan ? customized packet, type 0, mask 0 mmd address 2h, register 20h ? wake-on-l an ? customized packet, type 1, mask 0 mmd address 2h, register 24h ? wake-on-l an ? customized packet, type 2, mask 0 mmd address 2h, register 28h ? wake-on-l an ? customized packet, type 3, mask 0 2.1c.15:0 2.20.15:0 2.24.15:0 2.28.15:0 custom packet type x mask 0 this register selects the bytes in the first 16 bytes of the packet (bytes 1 through 16) that will be used for crc calculation. for each bit in this register, 1 = byte is selected for crc calculation 0 = byte is not selected for crc calculation the register-bit to packet-byte mapping is as fol- lows: bit [15]: byte 16 ?? bit [2]: byte 2 bit [0]: byte 1 rw 0000_0000_0000_00 00 table 4-6: mmd register d escriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 47 ksz9031mnx mmd address 2h, register 1dh ? wake-on-lan ? customized packet, type 0, mask 1 mmd address 2h, register 21h ? wake-on-lan ? customized packet, type 1, mask 1 mmd address 2h, register 25h ? wake-on-lan ? customized packet, type 2, mask 1 mmd address 2h, register 29h ? wake-on-lan ? customized packet, type 3, mask 1 2.1d.15:0 2.21.15:0 2.25.15:0 2.29.15:0 custom packet type x mask 1 this register selects the bytes in the second 16 bytes of the packet (bytes 17 thru 32) that will be used for crc calculation. for each bit in this register, 1 = byte is selected for crc calculation 0 = byte is not selected for crc calculation the register-bit to packet-byte mapping is as fol- lows: bit [15]: byte 32 ?? bit [2]: byte 18 bit [0]: byte 17 rw 0000_0000_0000_00 00 mmd address 2h, register 1eh ? wake-on-lan ? customized packet, type 0, mask 2 mmd address 2h, register 22h ? wake-on-lan ? customized packet, type 1, mask 2 mmd address 2h, register 26h ? wake-on-lan ? customized packet, type 2, mask 2 mmd address 2h, register 2ah ? wake-on-lan ? customized packet, type 3, mask 2 2.1e.15:0 2.22.15:0 2.26.15:0 2.2a.15:0 custom packet type x mask 2 this register selects the by tes in the third 16 bytes of the packet (bytes 33 through 48) that will be used for crc calculation. for each bit in this register, 1 = byte is selected for crc calculation 0 = byte is not selected for crc calculation the register-bit to packet-byte mapping is as fol- lows: bit [15]: byte 48 ?? bit [2]: byte 34 bit [0]: byte 33 rw 0000_0000_0000_00 00 mmd address 2h, register 1fh ? wake-on-lan ? customized packet, type 0, mask 3 mmd address 2h, register 23h ? wake-on-lan ? customized packet, type 1, mask 3 mmd address 2h, register 27h ? wake-on-lan ? customized packet, type 2, mask 3 mmd address 2h, register 2bh ? wake-on-lan ? customized packet, type 3, mask 3 2.1f.15:0 2.23.15:0 2.27.15:0 2.2b.15:0 custom packet type x mask 3 this register selects the bytes in the fourth 16 bytes of the packet (bytes 49 through 64) that will be used for crc calculation. for each bit in this register, 1 = byte is selected for crc calculation 0 = byte is not selected for crc calculation the register-bit to packet-byte mapping is as fol- lows: bit [15]: byte 64 ?? bit [2]: byte 50 bit [0]: byte 49 rw 0000_0000_0000_00 00 mmd address 1ch, register 4h ? analog control 4 1c.4.15:11 reserved reserved rw 0000_0 1c.4.10 10base-te mode 1 = 10base-te (1.75v tx amplitude) 0 = standard 10base-t (2.5v tx amplitude) rw 0 1c.4.9:0 reserved reserved rw 00_1111_1111 table 4-6: mmd register d escriptions (continued) address name description mode ( note 4-1 ) default
ksz9031mnx ds00002096c-page 48 ? 2016 microchip technology inc. note 4-1 rw = read/write; ro = read only; wo = write only; lh = latch high. mmd address 1ch, register 23h ? edpd control 1c.23.15:1 reserved reserved rw 0000_0000_0000_00 0 1c.23.0 edpd mode enable energy-detect power-down mode 1 = enable 0 = disable rw 0 table 4-6: mmd register d escriptions (continued) address name description mode ( note 4-1 ) default
? 2016 microchip technology inc. ds00002096c-page 49 ksz9031mnx 5.0 operational characteristics 5.1 absolute maximum ratings* supply voltage (v in ) (dvddl, avddl, avddl_pll)...................................................................................................... .......... ?0.5v to +1.8v (avddh) ........................................................................................................................ ........................... ?0.5v to +5.0v (dvddh) ............ .............. .............. .............. .............. .............. .............. .............. .......... ........................... ?0.5v to +5.0v input voltage (all inputs)..................................................................................................... ....................... ?0.5v to +5.0v output voltage (all outputs)................................................................................................... .................... ?0.5v to +5.0v lead temperature (soldering, 10s) .............................................................................................. ......................... +260c storage temperature (t s ) .............. .............. .............. .............. .............. .............. .............. .............. ...... ?55c to +150c *exceeding the absolute maximum rating may damage the dev ice. stresses greater than the absolute maximum rating may cause permanent damage to the device. operation of the de vice at these or any other conditions above those spec- ified in the operating sections of this specification is not implied. maximum conditions for extended periods may affect reliability. 5.2 operating ratings** supply voltage (dvddl, avddl, avddl_pll)...................................................................................................... .. +1.140v to +1.260v (avddh @ 3.3v) ................................................................................................................. ............. +3.135v to +3.465v (avddh @ 2.5v; commercial temp. only)........................................................................................ +2 .375v to +2.625v (dvddh @ 3.3v)............. .............. .............. .............. .............. ........... ............ ........... .......... ............. +3.135v to +3.465v (dvddh @ 2.5v)............. .............. .............. .............. .............. ........... ............ ........... .......... ............. +2.375v to +2.625v (dvddh @ 1.8v)............. .............. .............. .............. .............. ........... ............ ........... .......... ............. +1.710v to +1.890v ambient temperature (t a commercial: ksz9031mnxc) ...................................................................................................... ......... 0c to +70c (t a industrial: ksz9031mnxi) .. .............. .............. .............. .............. ........... ........... ........... ........... ........... ?40c to +85c maximum junction temperature (t j max.) ........................................................................................................... +125c thermal resistance ( ja ).............................................................................................................................. +32.27c/w thermal resistance ( jc ) .............................................................................................................................. .+6.76c/w **the device is not guaranteed to function outside its operating ratings. note: do not drive input signals without power supplied to the device.
ksz9031mnx ds00002096c-page 50 ? 2016 microchip technology inc. 6.0 electrical characteristics t a = 25c. specification is for packaged product only. table 6-1: supply current - core/digital i/o parameters symbol min. typ. max. units note 1.2v total of: dvddl (digital core) + avddl (analog core) + avddl_pll (pll) i core ?211? ma 1000base-t link-up (no traffic) ?221? 1000base-t full-duplex @ 100% utilization ? 60.6 ? 100base-tx link-up (no traffic) ?61.2? 100base-tx full-duplex @ 100% utilization ? 7.0 ? 10base-t link-up (no traffic) ?7.7? 10base-t full-duplex @ 100% utilization ?0.9? software power-down mode (reg. 0.11 = 1) ?0.8? chip power-down mode (strap-in pins mode[3:0] = 0111) 1.8v for digital i/o (gmii/mii operating @ 1.8v) i dvddh_1.8 ?14.2? ma 1000base-t link-up (no traffic) ?29.3? 1000base-t full-duplex @ 100% utilization ? 7.3 ? 100base-tx link-up (no traffic) ?10.0? 100base-tx full-duplex @ 100% utilization ? 3.1 ? 10base-t link-up (no traffic) ?6.0? 10base-t full-duplex @ 100% utilization ?3.7? software power-down mode (reg. 0.11 = 1) ?0.2? chip power-down mode (strap-in pins mode[3:0] = 0111) 2.5v for digital i/o (gmii/mii operating @ 2.5v) i dvddh_2.5 ?19.3? ma 1000base-t link-up (no traffic) ?40.5? 1000base-t full-duplex @ 100% utilization ? 10.0 ? 100base-tx link-up (no traffic) ?13.7? 100base-tx full-duplex @ 100% utilization ? 4.3 ? 10base-t link-up (no traffic) ?8.3? 10base-t full-duplex @ 100% utilization ?5.3? software power-down mode (reg. 0.11 = 1) ?0.9? chip power-down mode (strap-in pins mode[3:0] = 0111)
? 2016 microchip technology inc. ds00002096c-page 51 ksz9031mnx note 6-1 equivalent to current draw through external transf ormer center taps for ph y transceivers with current- mode transmit drivers. 3.3v for digital i/o (gmii/mii operating @ 3.3v) i dvddh_3.3 ?26.0? ma 1000base-t link-up (no traffic) ?53.8? 1000base-t full-duplex @ 100% utilization ? 13.3 ? 100base-tx link-up (no traffic) ?18.0? 100base-tx full-duplex @ 100% utilization ? 5.7 ? 10base-t link-up (no traffic) ?11.1? 10base-t full-duplex @ 100% utilization ?7.1? software power-down mode (reg. 0.11 = 1) ?2.1? chip power-down mode (strap-in pins mode[3:0] = 0111) table 6-2: supply current - transceiver ( note 6-1 ) parameters symbol min. typ. max. units note 2.5v for transceiver (recommended for commercial temperature range operation only) i avddh_2.5 ?58.6? ma 1000base-t link-up (no traffic) ?57.6? 1000base-t full-duplex @ 100% utilization ? 24.8 ? 100base-tx link-up (no traffic) ?24.8? 100base-tx full-duplex @ 100% utilization ? 12.5 ? 10base-t link-up (no traffic) ?25.8? 10base-t full-duplex @ 100% utilization ?3.0? software power-down mode (reg. 0.11 = 1) ?0.02? chip power-down mode (strap-in pins mode[3:0] = 0111) 3.3v for transceiver parameter i avddh_3.3 ?66.6? ma 1000base-t link-up (no traffic) ?65.6? 1000base-t full-duplex @ 100% utilization ? 28.7 ? 100base-tx link-up (no traffic) ?28.7? 100base-tx full-duplex @ 100% utilization ? 17.0 ? 10base-t link-up (no traffic) ?29.3? 10base-t full-duplex @ 100% utilization ?4.1? software power-down mode (reg. 0.11 = 1) ?0.02? chip power-down mode (strap-in pins mode[3:0] = 0111) table 6-1: supply current - core/digital i/o (continued) parameters symbol min. typ. max. units note
ksz9031mnx ds00002096c-page 52 ? 2016 microchip technology inc. table 6-3: cmos inputs parameters symbol min. typ. max. units note input high voltage v ih 2.0 ? ? v dvddh (digital i/o) = 3.3v 1.5 ? ? dvddh (digital i/o) = 2.5v 1.1 ? ? dvddh (digital i/o) = 1.8v input low voltage v il ??1.3 v dvddh (digital i/o) = 3.3v ? ? 1.0 dvddh (digital i/o) = 2.5v ? ? 0.7 dvddh (digital i/o) = 1.8v input high leakage current i ihl ?2.0 ? 2.0 a dvddh = 3.3v and v ih = 3.3v all digital input pins input low leakage current i ill ?2.0 ? 2.0 a dvddh = 3.3v and v il = 0.0v all digital input pins, except mdc, mdio, reset_n. ?120 ? ?40 dvddh = 3.3v and v il = 0.0v mdc, mdio, reset_n pins with internal pull-ups table 6-4: cmos outputs parameter symbol min. typ. max. units note output high voltage v oh 2.7 ? ? v dvddh (digital i/o) = 3.3v , i oh (min) = 10ma all digital output pins 2.0 ? ? dvddh (digital i/o) = 2.5v, i oh (min) = 10ma all digital output pins 1.5 ? ? dvddh (digital i/o) = 1.8v, i oh (min) = 13ma all digital output pins, except led1, led2 output low voltage v ol ??0.3 v dvddh (digital i/o) = 3.3v , i ol (min) = 10ma all digital output pins ??0.3 dvddh (digital i/o) = 2.5v, i ol (min) = 10ma all digital output pins ??0.3 dvddh (digital i/o) = 1.8v, i ol (min) = 13ma all digital output pins, except led1, led2 output tri-state leakage |i oz |??10a ? table 6-5: led outputs parameters symbol min. typ. max. units note output drive current i led 10 ? ? ma dvddh (digital i/o) = 3.3v or 2.5v, and v ol at 0.3v each led pin (led1, led2)
? 2016 microchip technology inc. ds00002096c-page 53 ksz9031mnx note 6-1 measured differentially after 1:1 transformer. note 6-1 measured differentially after 1:1 transformer. table 6-6: pull-up pins parameters symbol min. typ. max. units note internal pull-up resistance (mdc, mdio, reset_n pins) pu 13 22 31 k ? dvddh (digital i/o) = 3.3v 16 28 39 dvddh (digital i/o) = 2.5v 26 44 62 dvddh (digital i/o) = 1.8v table 6-7: 100base-tx transmit ( note 6-1 ) parameters symbol min. typ. max. units note peak differential output voltage v o 0.95 ? 1.05 v 100 ? termination across differential output output voltage imbalance v imb ?? 2 % 100 ? termination across differential output rise/fall time t r , t f 3?5ns ? rise/fall time imbalance ? 0 ? 0.5 ns ? duty cycle distortion ? ? ? 0.25 ns ? overshoot ? ? ? 5 % ? output jitter ? ? 0.7 ? ns peak-to-peak table 6-8: 10base-t transmit ( note 6-1 ) parameters symbol min. typ. max. units note peak differential output voltage v p 2.2 ? 2.8 v 100 ? termination across differential output jitter added ? ? ? 3.5 ns peak-to-peak harmonic rejection ? ? ?31 ? db transmit all-one signal sequence table 6-9: 10base-t receive parameters symbol min. typ. max. units note squelch threshold v sq 300 400 ? mv 5 mhz square wave table 6-10: transmitter - drive setting parameters symbol min. typ. max. units note reference voltage of i set v set ?1.2? v r(i set ) = 12.1 k ? table 6-11: ldo cont roller - drive range parameters symbol min. typ. max. units note output drive range for ldo_o (pin 58) to gate input of p - channel mosfet v ldo_o 0.85 ? 2.8 v avddh = 3.3v for mosfet source voltage 0.85 ? 2.0 avddh = 2.5v for mosfet source voltage (recommended for commer- cial temperature range operation only)
ksz9031mnx ds00002096c-page 54 ? 2016 microchip technology inc. 7.0 timing diagrams figure 7-1: gmii transmit timing - data input to phy table 7-1: gmii transmit timing parameters timing parameter description min. typ. max. units 1000base-t t cyc gtx_clk period 7.5 8.0 8.5 ns t su tx_en, txd[7:0], tx _er setup time to rising edge of gtx_clk 2.0 ? ? t hd tx_en, txd[7:0], tx_er hold time from rising edge of gtx_clk 0?? t hi gtx_clk high pulse width 2.5 ? ? t lo gtx_clk low pulse width 2.5 ? ? t r gtx_clk rise time ? ? 1.0 t f gtx_clk fall time ? ? 1.0 gtx_clk t su t lo t hi t cyc t f t r t hd tx_en txd[7:0] tx_er
? 2016 microchip technology inc. ds00002096c-page 55 ksz9031mnx figure 7-2: gmii receive timing - data input to mac table 7-2: gmii receive timing parameters timing parameter description min. typ. max. units 1000base-t t cyc rx_clk period 7.5 8.0 8.5 ns t su rx_en, rxd[7:0], rx_er setup time to rising edge of rx_clk 2.5 ? ? t hd rx_en, rxd[7:0], rx_er hold time from rising edge of rx_clk 0.5 ? ? t hi rx_clk high pulse width 2.5 ? ? t lo rx_clk low pulse width 2.5 ? ? t r rx_clk rise time ? ? 1.0 t f rx_clk fall time ? ? 1.0 rx_clk t su t lo t hi t cyc t f t r t hd rx_dv rxd[7:0] rx_er
ksz9031mnx ds00002096c-page 56 ? 2016 microchip technology inc. figure 7-3: mii transmit timing - data input to phy table 7-3: mii transmit timing parameters timing parameter description min. typ. max. units 10base-t t cyc tx_clk period ? 400 ? ns t su tx_en, txd[3:0], tx_er setup time to rising edge of tx_clk 15 ? ? t hd tx_en, txd[3:0], tx_er hold time from rising edge of tx_clk 0?? t hi tx_clk high pulse width 140 ? 260 t lo tx_clk low pulse width 140 ? 260 100base-tx t cyc tx_clk period ? 40 ? ns t su tx_en, txd[3:0], tx_er setup time to rising edge of tx_clk 15 ? ? t hd tx_en, txd[3:0], tx_er hold time from rising edge of tx_clk 0?? t hi tx_clk high pulse width 14 ? 26 t lo tx_clk low pulse width 14 ? 26 tx_clk t su t lo t hi t cyc t hd tx_en txd[3:0] tx_er
? 2016 microchip technology inc. ds00002096c-page 57 ksz9031mnx figure 7-4: mii receive timing - data input to mac table 7-4: mii receive timing parameters timing parameter description min. typ. max. units 10base-t t cyc rx_clk period ? 400 ? ns t su rx_dv, rxd[3:0], rx_er setup time to rising edge of rx_clk 10 ? ? t hd rx_dv, rxd[3:0], rx_er hold time from rising edge of rx_clk 10 ? ? t hi rx_clk high pulse width 140 ? 260 t lo rx_clk low pulse width 140 ? 260 100base-tx t cyc rx_clk period ? 40 ? ns t su rx_dv, rxd[3:0], rx_er setup time to rising edge of rx_clk 10 ? ? t hd rx_dv, rxd[3:0], rx_er hold time from rising edge of rx_clk 10 ? ? t hi rx_clk high pulse width 14 ? 26 t lo rx_clk low pulse width 14 ? 26 rx _clk t su t lo t hi t cyc t hd rx _dv rxd [3:0] rx _er
ksz9031mnx ds00002096c-page 58 ? 2016 microchip technology inc. figure 7-5: auto-negotiation fast link pulse (flp) timing the ksz9031mnx fast link pulse (flp) burst-to-burst transmit timing for au to-negotiation defaults to 8 ms. ieee 802.3 standard specifies this timing to be 16 ms 8 ms . some phy link partners need to receive the flp with 16 ms centered timing; otherwise, there can be intermi ttent link failures and long link-up times. after ksz9031mnx power-up/reset, program the following register sequence to set the flp timing to 16 ms: 1. write register dh = 0x0000 // set up register address for mmd ? device address 0h 2. write register eh = 0x0004 // select register 4h of mmd ? device address 0h 3. write register dh = 0x4000 // select regi ster data for mmd ? device address 0h, register 4h 4. write register eh = 0x0006 // write value 0x0006 to mmd ? device address 0h, register 4h 5. write register dh = 0x0000 // set up register address for mmd ? device address 0h 6. write register eh = 0x0003 // select register 3h of mmd ? device address 0h 7. write register dh = 0x4000 // select regi ster data for mmd ? device address 0h, register 3h 8. write register eh = 0x1a80 // write value 0x1a80 to mmd ? device address 0h, register 3h 9. write register 0h, bit [9] = 1 // restart auto-negotiation the above setting for 16 ms flp transmit timing is compatible with all phy link partners. table 7-5: auto-negotiation fast li nk pulse (flp) timing parameters timing parameter description min. typ. max. units t btb flp burst to flp burst 8 16 24 ms t flpw flp burst width ? 2 ? t pw clock/data pulse width ? 100 ? ns t ctd clock pulse to data pulse 55.5 64 69.5 s t ctc clock pulse to clock pulse 111 128 139 ? number of clock/data pulses per flp burst 17 ? 33 ?
? 2016 microchip technology inc. ds00002096c-page 59 ksz9031mnx figure 7-6: mdc/mdio timing the typical mdc clock frequency is 2.5 mhz (400 ns clock period). the ksz9031mnx can operate with mdc clock frequencies gen erated from bit banging with gpio pin in the 10s/100s of hertz and have been tested up to a mdc clock frequency of 8.33 mhz (120 ns clock period). test condition for 8.33 mhz is for one ksz9031mnx phy on the mdio line with a 1.0 k ? pull-up to the dvddh supply rail. table 7-6: mdc/mdio timing parameters timing parameter description min. typ. max. units t p mdc period 120 400 ? ns t md1 mdio (phy input) setup to rising edge of mdc 10 ? ? t md2 mdio (phy input) hold from rising edge of mdc 10 ? ? t md3 mdio (phy output) delay from rising edge of mdc 0 ? ?
ksz9031mnx ds00002096c-page 60 ? 2016 microchip technology inc. figure 7-7: power-up/p ower-down/reset timing note 1: the recommended power-up sequence is to have the transceiver (avddh) and digital i/o (dvddh) voltages power up before the 1.2v core (dvddl, avddl, avddl_pll) vo ltage. if the 1.2v core must power up first, the maxi- mum lead time for the 1.2v core voltage with respect to the transceiver and digital i/o voltages should be 200 s. there is no power sequence requirement between transceiver (avddh) and digital i/o (dvddh) power rails. the power-up waveforms should be monotonic for all supply voltages to the ksz9031mnx. note 2: after the de-assertion of reset, wait a minimum of 100 s before starting programming on the miim (mdc/mdio) interface. note 3: the recommended power-down sequence is to have th e 1.2v core voltage power-down before powering down the transceiver and digital i/o voltages. before the next power-up cycle, all supply voltages to the ksz9031mnx s hould reach less than 0. 4v and there should be a minimum wait time of 150 ms from power-off to power-on. table 7-7: power-up/power-down/reset timing parameters timing parameter description min. typ. max. units t vr supply voltages rise time (must be monotonic) 200 ? ? s t sr stable supply voltages to de-assertion of reset 10 ? ? ms t cs strap-in pin configuration setup time 5 ? ? ns t ch strap-in pin configuration hold time 5 ? ? t rc de-assertion of reset to strap-in pin output 6 ? ? t pc supply voltages cycle off-to-on time 150 ? ? ms t sr t cs t ch t rc supply voltages reset_n strap-in value strap-in / output pin core (dvddl, avddl, avddl_pll) transceiver (avddh), digital i/os (dvddh) t vr t pc note 1 note 2 note 3
? 2016 microchip technology inc. ds00002096c-page 61 ksz9031mnx 8.0 reset circuit the following are some reset circuit suggestions. figure 8-1 illustrates the reset circuit for powering up the ksz9031mnx if reset is triggered by the power supply. figure 8-1: reset circuit if triggered by the power supply figure 8-2 illustrates the reset circuit for applications where reset is driven by another device (for example, the cpu or an fpga). at power-on-reset, r, c, and d1 provide the mono tonic rise time to reset the ksz9031mnx device. the rst_out_n from the cpu/fpga provid es the warm reset after power-up. the ksz9031mnx and cpu/fpga references the same digital i/o voltage (dvddh). figure 8-2: recommended reset circuit for cpu/fpga reset output figure 8-3 illustrates the reset circuit with an mic826 volt age supervisor driving the ksz9031mnx reset input. dvddh d1: 1n4148 d1 r 10k ksz9031mnx reset_n c 10f dvddh ksz9031mnx d1 r 10k reset_n c 10f d2 cpu/fpga rst_out_n d1, d2: 1n4148
ksz9031mnx ds00002096c-page 62 ? 2016 microchip technology inc. figure 8-3: reset circuit with mic826 voltage supervisor ksz9031mnx mic826 part number reset# reset threshold dvddh = 3.3v, 2.5v, or 1.8v reset_n dvddh dvddh mic826tymt / 3.075v mic826zymt / 2.315v mic826wymt / 1.665v
? 2016 microchip technology inc. ds00002096c-page 63 ksz9031mnx 9.0 reference circuits ? led strap-in pins the pull-up and pull-down reference circuits for the led2 /phyad1 and led1/phyad0 strapping pins are shown in figure 9-1 for 3.3v and 2.5v dvddh. figure 9-1: reference circuits for led strapping pins for 1.8v dvddh, led indication support requires voltage le vel shifters between led[2:1] pins and led indicator diodes to ensure the multiplexed phyad[ 1:0] strapping pins are latched in high /low correctly. if led indicator diodes are not implemented, the phyad[1:0] strapping pins just need 10 k ? pull-up to 1.8v dvddh for a value of 1, and 1.0 k ? pull-down to ground for a value of 0. led pin 220 10k pull-up ksz9031mnx 220 pull-down ksz9031mnx led pin dvddh = 3.3v, 2.5v dvddh = 3.3v, 2.5v 1k
ksz9031mnx ds00002096c-page 64 ? 2016 microchip technology inc. 10.0 reference clock - connection and selection a crystal or external clock source, such as an oscillator, is used to provide the reference clock for the ksz9031mnx. the reference clock is 25 mhz for all operating modes of the ksz9031mnx. the ksz9031mnx uses the avddh supply, analog 3.3v (or anal og 2.5v option for commercial temperature only), for the crystal/ clock pins (xi, xo). if the 25 mhz reference clo ck is provided externally, the xi input pin should have a min- imum clock voltage peak-to-peak (v pp ) swing of 2.5v reference to ground. if v pp is less than 2.5v, series capacitive coupling is recommended. with capacitive coupling, the v pp swing can be down to 1.5v. maximum v pp swing is 3.3v +5%. figure 10-1 and table 10-1 show the reference clock connection to xi (pin 61) and xo (pin 60) of the ksz9031mnx, and the reference clock selection criteria. figure 10-1: 25 mhz crystal/oscillator reference clock connection 11.0 on-chip ldo controlle r - mosfet selection if the optional ldo controller is used to generate 1.2v for the core voltage, the selected mosfet should exceed the following minimum requirements: ? p-channel ? 500 ma (continuous current) ? 3.3v or 2.5v (source ? input voltage) ? 1.2v (drain ? output voltage) ?v gs in the range of: - (?1.2v to ?1.5v) @ 500 ma for 3.3v source voltage - (?1.0v to ?1.1v) @ 500 ma for 2.5v source voltage the v gs for the mosfet needs to be operat ing in the constant current saturated region, and not towards the v gs(th) , the threshold voltage for the cut-off region of the mosfet. see table 6-11 for ldo controller output driving ra nge to the gate input of the mosfet. refer to application note anlan206 ? ksz9031 gigabit ph y optimized power scheme for high efficiency, low-power consumption and dissipation as a design reference. table 10-1: 25 mhz crystal/refer ence clock selec tion criteria characteristics value frequency 25 mhz frequency tolerance (max.) 50 ppm crystal series resistance (typ.) 40 ? total period jitter (peak-to-peak) <100 ps 22pf 22pf nc xi xo xi xo 25 mhz xtal 50ppm 25 mhz osc 50ppm
? 2016 microchip technology inc. ds00002096c-page 65 ksz9031mnx 12.0 magnetic - connec tion and selection a 1:1 isolation transformer is required at the line interfac e. use one with integrated common-mode chokes for designs exceeding fcc requirements. an optional auto-transformer stage following the chokes provides additional common- mode noise and signal attenuation. the ksz9031mnx design incorporates voltage-m ode transmit drivers and on-chip terminations. with the voltage-mode implementation, the transmit drivers supply the common-mode voltages to the four differential pairs. therefore, the four transformer center tap pins on the ksz9031mnx side should not be connected to any power supply source on the board; rather, th e center tap pins should be separated from one another and connected through separate 0.1 f common-mode capacitors to ground. separation is required because the common-mode voltage could be different between the four differential pa irs, depending on the connected speed mode. figure 12-1 shows the typical gigabit magnetic interface circuit for the ksz9031mnx. figure 12-1: typical gigabit magnetic interface circuit table 12-1 lists recommended magnetic characteristics. table 12-2 is a list of compatible single-port magnetics with separated transformer center tap pins on the g-phy chip side that can be used with the ksz9031mnx. table 12-1: magnetics selection criteria parameter value test conditions turns ratio 1 ct : 1 ct ? open-circuit inductance (min.) 350 h 100 mv, 100 khz, 8 ma insertion loss (max.) 1.0 db 0 mhz to 100 mhz hipot (min.) 1500 v rms ? table 12-2: compatibl e single-port 10/100/1000 magnetics manufacturer part number auto-transformer temperature range magnetic + rj-45 bel fuse 0826-1g1t-23-f yes 0c to 70c yes halo tg1g-e001nzrl no ?40c to 85c no 1 2 3 7 8 4 5 6 4x75 1000 pf / 2kv r j - 45 connector chassis ground (4 x 0.1f) txrxp_a txrxm_a ksz 9031mnx signal ground txrxp_b txrxm_b txrxp_c txrxm_c txrxp_d txrxm_d
ksz9031mnx ds00002096c-page 66 ? 2016 microchip technology inc. halo tg1g-s001nzrl no 0c to 70c no halo tg1g-s002nzrl yes 0c to 70c no pulse h5007nl yes 0c to 70c no pulse h5062nl yes 0c to 70c no pulse hx5008nl yes ?40c to 85c no pulse jk0654219nl yes 0c to 70c yes pulse jk0-0136nl no 0c to 70c yes tdk tla-7t101lf no 0c to 70c no wurth/midcom 000-7093-37r-lf1 yes 0c to 70c no table 12-2: compatible single-por t 10/100/1000 magnetics (continued) manufacturer part number auto-transformer temperature range magnetic + rj-45
? 2016 microchip technology inc. ds00002096c-page 67 ksz9031mnx 13.0 package outlines note: for the most current package drawings, please se e the microchip packaging specification located at http://www.microchip.com/packaging figure 13-1: 64-lead qfn 8 mm x 8 mm pa ckage with 4.2 mm x 4.2 mm exposed pad area
ksz9031mnx ds00002096c-page 68 ? 2016 microchip technology inc. figure 13-2: 64-lead qfn 8 mm x 8 mm pa ckage with 6.5 mm x 6.5 mm exposed pad area
? 2016 microchip technology inc. ds00002096c-page 69 ksz9031mnx appendix a: data sheet revision history table a-1: revision history revision section/figure/entry correction ds00002096c (07-26-16) all removed energy efficient ethernet functionality. ds00002096b (05-24-16) 10.0 reference clock - connection and selection specified jitter for 25 mhz reference crystal/clock. ds00002096a (02-19-16) ? converted micrel data sheet ksz9031mnx to microchip ds00002096a. minor text changes throughout. wake-on-lan ? custom- ized packet, expected crc 1 and crc 2 registers. the ?lower? and ?upper? denotations for the two bytes of expected crc are swapped in the previ- ous revision. product identification system specified exposed pad size area for packages. package information corrected information for copper wire part numbers (ksz9031mnxcc, ksz9031mnxic) to 64-pin (8 mm x 8 mm) qfn with (6.5 mm x 6.5 mm) exposed pad area. this is a data sheet correction. there is no change to the copper wire package.
ksz9031mnx ds00002096c-page 70 ? 2016 microchip technology inc. the microchip web site microchip provides online support via our www site at www.microchip.com . this web site is used as a means to make files and information easily available to customers. accessible by using your favorite internet browser, the web site con- tains the following information: ? product support ? data sheets and errata, application notes and sample programs, design resources, user?s guides and hardware support documents, latest software releases and archived software ? general technical support ? frequently asked questions (faq), te chnical support requests, online discussion groups, microchip consultant program member listing ? business of microchip ? product selector and ordering guides, latest microchip press releases, listing of semi- nars and events, listings of microchip sales offi ces, distributors and factory representatives customer change notification service microchip?s customer notification service helps keep custom ers current on microchip products. subscribers will receive e-mail notification whenever there are changes, updates, revisi ons or errata related to a specified product family or development tool of interest. to register, access the microchip web site at www.microchip.com . under ?support?, click on ?customer change notifi- cation? and follow the registration instructions. customer support users of microchip products can receive assistance through several channels: ? distributor or representative ? local sales office ? field application engineer (fae) ? technical support customers should contact their distributor, representative or field application engineer (fae) for support. local sales offices are also available to help customers. a listing of sales offices and locations is included in the back of this docu- ment. technical support is available through the web site at: http://microchip.com/support
? 2016 microchip technology inc. ds00002096c-page 71 ksz9031mnx product identification system to order or obtain information, e.g., on pricing or de livery, refer to the factory or the listed sales office . device: ksz9031 interface: m = mii, gmii package: nx = 64-pin qfn temperature: c = 0 ? c to +70 ? c (commercial) i = ?40 ? c to +85 ? c (industrial) bond wire: a = gold c = copper examples: a) KSZ9031MNXCA mii, gmii interface 64-pin qfn (pb-free, 4.2 mm x 4.2 mm epad) commercial temperature gold wire bonding b) ksz9031mnxcc mii, gmii interface 64-pin qfn (pb-free, 6.5 mm x 6.5 mm epad) commercial temperature copper wire bonding c) ksz9031mnxia mii, gmii interface 64-pin qfn (pb-free, 4.2 mm x 4.2 mm epad) industrial temperature gold wire bonding d) ksz9031mnxic mii, gmii interface 64-pin qfn (pb-free, 6.5 mm x 6.5 mm epad) industrial temperature copper wire bonding part no. x xx package interface device x temperature x bond wire
ds00002096c-page 72 ? 2016 microchip technology inc. information contained in this publication regarding device applications and the like is provided on ly for your convenience and may be superseded by updates. it is your responsibility to ensure that your application meets with yo ur specifications. microchip make s no representations or warranties of any kind whether express or implied, written or oral, statutory or otherwise, related to the information, including but not limited to its condition, quality, performance, merchantability or fi tness for purpose . microchip disclaims all liability arising from this information and its use. use of micro- chip devices in life support and/or safety applications is entirely at the buyer?s risk, and the buyer agrees to defend, indemn ify and hold harmless microchip from any and all damages, claims, suits, or expenses resulting from such use. no licenses are conveyed, impl icitly or otherwise, under any microchip intellectual property rights unless otherwise stated. trademarks the microchip name and logo, the microchip l ogo, anyrate, dspic, flashflex, flexpw r, heldo, jukeblox, keeloq, keeloq logo, kleer, lancheck, link md, medialb, most, most logo, mplab, optolyzer, pic, picstart, pic32 logo, righttouch, spynic, sst, sst logo, superflash and uni/o are registered trademarks of microchip technology incorporated in the u.s.a. and other countries. clockworks, the embedded control solutions company, ethersyn ch, hyper speed control, hyperlight load, intellimos, mtouch, precision edge, and quiet-wire are registered tradem arks of microchip technology incorporated in the u.s.a. analog-for-the-digital age, any capacitor, anyin, anyout, body com, chipkit, chipkit logo, codeguard, dspicdem, dspicdem.net, dynamic average matching, dam, ecan, ethergreen, in-circuit se rial programming, icsp, inter-c hip connectivity, jitterblocker, kleernet, kleernet logo, miwi, motorbench, mpasm, mpf, mplab certified logo, mplib, mplink, multitrak, netdetach, omniscient code generation, picdem, picdem.net, pickit, pictail, puresilicon, righttouch logo, re al ice, ripple blocker, serial quad i/o, sqi, superswitcher, super switcher ii, total endurance, ts harc, usbcheck, varisense, viewspan, wiperlock, wireless dna, and zena are trademarks of mi crochip technology incorporated in the u.s.a. and other countries. sqtp is a service mark of microchi p technology incorporated in the u.s.a. silicon storage technology is a regi stered trademark of microchip tech nology inc. in other countries. gestic is a registered trademarks of microc hip technology germany ii gmbh & co. kg, a s ubsidiary of microchip technology inc., in other countries. all other trademarks mentioned herein are property of their respective companies. ? 2016, microchip technology incorporated, printed in the u.s.a., all rights reserved. isbn: 9781522408109 note the following details of the code protection feature on microchip devices: ? microchip products meet the specification cont ained in their particular microchip data sheet. ? microchip believes that its family of products is one of the mo st secure families of its kind on the market today, when used i n the intended manner and under normal conditions. ? there are dishonest and possibly illegal meth ods used to breach the code protection fe ature. all of these methods, to our knowledge, require using the microchip pr oducts in a manner outside the operating specif ications contained in microchip?s data sheets. most likely, the person doing so is engaged in theft of intellectual property. ? microchip is willing to work with the customer who is concerned about the integrity of their code. ? neither microchip nor any other semiconduc tor manufacturer can guarantee the security of their code. code protection does not mean that we are guaranteeing the product as ?unbreakable.? code protection is constantly evolving. we at microchip are committed to continuously improving the code protection features of our products. attempts to break microchip?s c ode protection feature may be a violation of the digital millennium copyright act. if such acts allow unauthorized access to your softwa re or other copyrighted work, you may have a right to sue for relief under that act. microchip received iso/ts-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona; gresham, oregon and design centers in california and india. the company?s quality system processes and procedures are for its pic ? mcus and dspic ? dscs, k ee l oq ? code hopping devices, serial eeproms, microper ipherals, nonvolatile memory and analog products. in addition, microchip?s quality system for the design and manufacture of development syst ems is iso 9001:2000 certified. quality management s ystem by dnv == iso/ts 16949 ==
? 2016 microchip technology inc. ds00002096c-page 73 americas corporate office 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-792-7200 fax: 480-792-7277 technical support: http://www.microchip.com/ support web address: www.microchip.com atlanta duluth, ga tel: 678-957-9614 fax: 678-957-1455 austin, tx tel: 512-257-3370 boston westborough, ma tel: 774-760-0087 fax: 774-760-0088 chicago itasca, il tel: 630-285-0071 fax: 630-285-0075 cleveland independence, oh tel: 216-447-0464 fax: 216-447-0643 dallas addison, tx tel: 972-818-7423 fax: 972-818-2924 detroit novi, mi tel: 248-848-4000 houston, tx tel: 281-894-5983 indianapolis noblesville, in tel: 317-773-8323 fax: 317-773-5453 los angeles mission viejo, ca tel: 949-462-9523 fax: 949-462-9608 new york, ny tel: 631-435-6000 san jose, ca tel: 408-735-9110 canada - toronto tel: 905-695-1980 fax: 905-695-2078 asia/pacific asia pacific office suites 3707-14, 37th floor tower 6, the gateway harbour city, kowloon hong kong tel: 852-2943-5100 fax: 852-2401-3431 australia - sydney tel: 61-2-9868-6733 fax: 61-2-9868-6755 china - beijing tel: 86-10-8569-7000 fax: 86-10-8528-2104 china - chengdu tel: 86-28-8665-5511 fax: 86-28-8665-7889 china - chongqing tel: 86-23-8980-9588 fax: 86-23-8980-9500 china - dongguan tel: 86-769-8702-9880 china - guangzhou tel: 86-20-8755-8029 china - hangzhou tel: 86-571-8792-8115 fax: 86-571-8792-8116 china - hong kong sar tel: 852-2943-5100 fax: 852-2401-3431 china - nanjing tel: 86-25-8473-2460 fax: 86-25-8473-2470 china - qingdao tel: 86-532-8502-7355 fax: 86-532-8502-7205 china - shanghai tel: 86-21-5407-5533 fax: 86-21-5407-5066 china - shenyang tel: 86-24-2334-2829 fax: 86-24-2334-2393 china - shenzhen tel: 86-755-8864-2200 fax: 86-755-8203-1760 china - wuhan tel: 86-27-5980-5300 fax: 86-27-5980-5118 china - xian tel: 86-29-8833-7252 fax: 86-29-8833-7256 asia/pacific china - xiamen tel: 86-592-2388138 fax: 86-592-2388130 china - zhuhai tel: 86-756-3210040 fax: 86-756-3210049 india - bangalore tel: 91-80-3090-4444 fax: 91-80-3090-4123 india - new delhi tel: 91-11-4160-8631 fax: 91-11-4160-8632 india - pune tel: 91-20-3019-1500 japan - osaka tel: 81-6-6152-7160 fax: 81-6-6152-9310 japan - tokyo tel: 81-3-6880- 3770 fax: 81-3-6880-3771 korea - daegu tel: 82-53-744-4301 fax: 82-53-744-4302 korea - seoul tel: 82-2-554-7200 fax: 82-2-558-5932 or 82-2-558-5934 malaysia - kuala lumpur tel: 60-3-6201-9857 fax: 60-3-6201-9859 malaysia - penang tel: 60-4-227-8870 fax: 60-4-227-4068 philippines - manila tel: 63-2-634-9065 fax: 63-2-634-9069 singapore tel: 65-6334-8870 fax: 65-6334-8850 taiwan - hsin chu tel: 886-3-5778-366 fax: 886-3-5770-955 taiwan - kaohsiung tel: 886-7-213-7828 taiwan - taipei tel: 886-2-2508-8600 fax: 886-2-2508-0102 thailand - bangkok tel: 66-2-694-1351 fax: 66-2-694-1350 europe austria - wels tel: 43-7242-2244-39 fax: 43-7242-2244-393 denmark - copenhagen tel: 45-4450-2828 fax: 45-4485-2829 france - paris tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany - dusseldorf tel: 49-2129-3766400 germany - karlsruhe tel: 49-721-625370 germany - munich tel: 49-89-627-144-0 fax: 49-89-627-144-44 italy - milan tel: 39-0331-742611 fax: 39-0331-466781 italy - venice tel: 39-049-7625286 netherlands - drunen tel: 31-416-690399 fax: 31-416-690340 poland - warsaw tel: 48-22-3325737 spain - madrid tel: 34-91-708-08-90 fax: 34-91-708-08-91 sweden - stockholm tel: 46-8-5090-4654 uk - wokingham tel: 44-118-921-5800 fax: 44-118-921-5820 worldwide sales and service 06/23/16


▲Up To Search▲   

 
Price & Availability of KSZ9031MNXCA

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X